@extends('layouts.default') @section('content') {!! Breadcrumbs::renderIfExists(Route::getCurrentRoute()->getName(), $date) !!}

Income vs. expenses
Income vs. expenses
Account balance
@foreach($balances as $balance) @if($balance['hide'] === false) @endif @endforeach
Name Balance at start of year Balance at end of year Difference
{{{$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
queryAmount); } foreach($groupedExpenses as $exp) { $expenseSum += floatval($exp['queryAmount']); } $incomeSum = floatval($incomeSum*-1); ?>
In {!! Amount::format($incomeSum) !!}
Out {!! Amount::format($expenseSum*-1) !!}
Difference {!! Amount::format($incomeSum - $expenseSum) !!}
Income
@foreach($groupedIncomes as $income) queryAmount)*-1; ?> @endforeach
{{{$income->name}}} {!! Amount::format(floatval($income->queryAmount)*-1) !!}
Sum {!! Amount::format($sum) !!}
Expenses
@foreach($groupedExpenses as $expense) @endforeach
{{{$expense['name']}}} {!! Amount::format(floatval($expense['queryAmount'])*-1) !!}
Sum {!! Amount::format($sum) !!}
Budgets
@stop @section('scripts') @stop