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