@extends('layouts.default') @section('content')

Firefly Overview for budget "{{{$budget->name}}}"

@if(count($filters) == 0)

Budgets can help you cut back on spending.

@else

@if(isset($filters[0]) && is_object($filters[0]) && get_class($filters[0]) == 'Limit') {{{$repetitions[0]['limitrepetition']->periodShow()}}}, {{mf($repetitions[0]['limit']->amount,false)}} @elseif(isset($filters[0]) && $filters[0] == 'no_envelope') These transactions are not caught in an envelope. @endif

See the whole picture

@endif

(Some sort of chart here)

@foreach($repetitions as $repetition) @if(isset($repetition['journals']) && count($repetition['journals']) > 0)
@if($repetition['paginated'] == true)

{{$repetition['date']}} paginated

@else

{{$repetition['date']}}

{{mf($repetition['limit']->amount,false)}} (left: {{mf($repetition['limitrepetition']->left(),false)}}) @endif @if($repetition['paginated'] == true) @include('paginated.transactions',['journals' => $repetition['journals']]) @else @include('lists.transactions',['journals' => $repetition['journals'],'sum' => true]) @endif
@else

{{$repetition['date']}}

No transactions

@endif @endforeach @stop