@extends('layouts.default') @section('content')
Metadata
@foreach($journal->budgets()->get() as $budget) @endforeach @foreach($journal->categories()->get() as $category) @endforeach
Date {{{$journal->date->format('jS F Y')}}}
Currency {{{$journal->transactioncurrency->code}}}
Type {{{$journal->transactiontype->type}}}
Completed @if($journal->completed == 1) Yes @else No @endif
{{$budget->class}} {{{$budget->name}}}
{{$category->class}} {{{$category->name}}}
@if(count($journal->piggybankevents) > 0)
Piggy banks
@include('list.piggybank-events',['events' => $journal->piggybankevents,'showPiggybank' => true])
@endif
@foreach($journal->transactions as $t)
{{{$t->account->name}}}
{{{$t->account->accounttype->description}}}
@if(!is_null($t->description)) @endif
Amount {{mf($t->amount)}}
New balance {{mf($t->before)}} → {{mf($t->after)}}
Description {{{$t->description}}}
@endforeach
@stop @section('scripts') @stop