@include('templates.pdf_header', [ 'organisation' => $organisation, 'asOfDate' => $asOfDate, 'currency' => $currency, 'currency_code' =>"Code", 'title' => 'CASH BOOK' ])
Opening Balance {{ number_format($data['opening_balance'], 2) }}
@foreach($data['transactions'] as $transaction) @endforeach
Date Reference Description Account Receipts Payments Balance
{{ \Carbon\Carbon::parse($transaction['date'])->format('m/d/Y') }} {{ $transaction['reference'] }} {{ $transaction['description'] }} {{ $transaction['account'] }} {{ $transaction['receipt'] ? number_format($transaction['receipt'], 2) : '-' }} {{ $transaction['payment'] ? number_format($transaction['payment'], 2) : '-' }} {{ number_format($transaction['balance'], 2) }}
Closing Balance {{ number_format($data['closing_balance'], 2) }}