@extends('layouts.default')
@section('content')
{{ Breadcrumbs::renderIfExists(Route::getCurrentRoute()->getName(), $date) }}
Account balance
@foreach($balances as $balance)
{{{$balance['account']->name}}}
@if($balance['shared'])
shared
@endif
|
{{mf($balance['start'])}} |
{{mf($balance['end'])}} |
{{mf($balance['end']-$balance['start'])}} |
@endforeach
Sum of sums |
{{mf($start)}} |
{{mf($end)}} |
{{mf($diff)}} |
Income
@foreach($groupedIncomes as $income)
{{{$income->name}}} |
{{mf(floatval($income->sum)*-1)}} |
@endforeach
Expenses
@foreach($groupedExpenses as $expense)
{{{$expense->name}}} |
{{mf(floatval($expense->sum)*-1)}} |
@endforeach
@stop
@section('scripts')
{{HTML::script('assets/javascript/firefly/gcharts.options.js')}}
{{HTML::script('assets/javascript/firefly/gcharts.js')}}
{{HTML::script('assets/javascript/firefly/reports.js')}}
@stop