@if(count($journal['transactions']) > 0) @foreach($journal['transactions'] as $entry) @endforeach {{-- show sums --}} {{-- final total --}}
{{ $entry->memo }} @if($entry->credit) {{ money($entry->credit, setting('units.currency')) }} @endif @if($entry->debit) {{ money($entry->debit, setting('units.currency')) }} @endif
{{ $journal['credits'] }} {{ $journal['debits'] }}
Total {{ $journal['credits']->subtract($journal['debits']) }}
@endif