@extends ('layouts.default') @section ('content')
@if (Session::has('error'))
{{{ Session::get('error') }}}
@endif
@include('xero.partials._header')

{{ isset($organisation) ? $organisation : ''}}

@if($type == 'MONTHLY') @include('xero.graphs.income_compare_graph') @else @include('xero.graphs.income_graph') @endif @if($type == 'DAILY')
@foreach ($data_array as $key => $value)
{{ $value['date'] }}
|
{{ $currency }} {{ $value['income'] }}
@endforeach
@elseif($type == 'MONTHLY') @include('xero.partials._monthly_and_debtordays') @else
@foreach ($data_array as $key => $value)
{{ $value['date'] }}
|
{{ $currency }} {{ $value['income'] }}
|
-
{{ $value['percent'] }}
@endforeach
@endif @include('xero.partials._branch_selector') @include('xero.partials._footer') @stop