@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
|
{{Amount::format($balance['start'])}} |
{{Amount::format($balance['end'])}} |
{{Amount::format($balance['end']-$balance['start'])}} |
@endforeach
Sum of sums |
{{Amount::format($start)}} |
{{Amount::format($end)}} |
{{Amount::format($diff)}} |
Income vs. expense
amount);
}
foreach($groupedExpenses as $exp) {
$expenseSum += floatval($exp['amount']);
}
$incomeSum = floatval($incomeSum*-1);
?>
In |
{{Amount::format($incomeSum)}} |
Out |
{{Amount::format($expenseSum*-1)}} |
Difference |
{{Amount::format($incomeSum - $expenseSum)}} |
Income
@foreach($groupedIncomes as $income)
amount)*-1;?>
{{{$income->name}}} |
{{Amount::format(floatval($income->amount)*-1)}} |
@endforeach
Sum |
{{Amount::format($sum)}} |
Expenses
@foreach($groupedExpenses as $id => $expense)
{{{$expense['name']}}} |
{{Amount::format(floatval($expense['amount'])*-1)}} |
@endforeach
Sum |
{{Amount::format($sum)}} |
@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