@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}}}

Transactions

@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->account->balanceBeforeJournal($journal))}} → {{mf($t->account->balanceBeforeJournal($journal) + $t->amount)}}
Description {{{$t->description}}}
@endforeach
@stop @section('scripts') @stop