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

Budgets can help you cut back on spending.

@if($view == 1)

This view is filtered to show only the envelope from {{{$repetitions[0]['limitrepetition']->periodShow()}}}, which contains {{mf($repetitions[0]['limit']->amount,false)}}.

@endif @if($view == 2)

This view is filtered to show transactions not in an envelope only.

@endif @if($view == 3)

This view is filtered to only show transactions between {{Session::get('start')->format('d M Y')}} and {{Session::get('end')->format('d M Y')}}.

@endif @if($view != 4)

Reset the filter

@endif
@if($view == 1)
@endif @if($view == 2)
@endif @if($view == 3)
@endif @if($view == 4)
@endif
@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'],'highlight' => $highlight]) @else @include('lists.transactions',['journals' => $repetition['journals'],'sum' => true,'highlight' => $highlight]) @endif
@else

{{$repetition['date']}}

No transactions

@endif @endforeach @stop @section('scripts') {{HTML::script('assets/javascript/highcharts/highcharts.js')}} @if($view == 1) {{HTML::script('assets/javascript/firefly/budgets/limit.js')}} @endif @if($view == 2) {{HTML::script('assets/javascript/firefly/budgets/nolimit.js')}} @endif @if($view == 3) {{HTML::script('assets/javascript/firefly/budgets/session.js')}} @endif @if($view == 4) {{HTML::script('assets/javascript/firefly/budgets/default.js')}} @endif @stop