@extends('layouts.default') @section('content') {{ Breadcrumbs::renderIfExists(Route::getCurrentRoute()->getName(), $date) }}
Income vs. expenses
Income vs. expenses
Account balance
@foreach($balances as $balance) @endforeach
{{{$balance['account']->name}}} @if($balance['shared']) shared @endif {{Amount::format($balance['start'])}} {{Amount::format($balance['end'])}} {{Amount::format($balance['end']-$balance['start'])}}
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;?> @endforeach
{{{$income->name}}} {{Amount::format(floatval($income->amount)*-1)}}
Sum {{Amount::format($sum)}}
Expenses
@foreach($groupedExpenses as $id => $expense) @endforeach
{{{$expense['name']}}} {{Amount::format(floatval($expense['amount'])*-1)}}
Sum {{Amount::format($sum)}}
Budgets
@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