{!! $chart->render() !!}
@foreach($dates as $date) @endforeach @if ($compares) @foreach($compares as $type => $categories) @foreach($categories as $category_id => $category) @if($type == 'income') @else @endif @foreach($category as $item) @if($type == 'income') @else @endif @endforeach @endforeach @endforeach @else @endif @foreach($totals as $total) @endforeach
{{ trans_choice('general.categories', 1) }}{{ $date }}
{{ $income_categories[$category_id] }}{{ $expense_categories[$category_id] }}@money($item['amount'], $item['currency_code'], true)@money(-$item['amount'], $item['currency_code'], true)
{{ trans('general.no_records') }}
{{ trans_choice('general.totals', 1) }} @if($total['amount'] == 0) @money($total['amount'], $total['currency_code'], true) @elseif($total['amount'] > 0) @money($total['amount'], $total['currency_code'], true) @else @money($total['amount'], $total['currency_code'], true) @endif
@push('js') {!! Charts::assets() !!} @endpush