{{-- LOGO --}}
Client:
{{ $client->surname }} {{ $client->first_name }}
Account Number: {{ $client->account_number }}
Period:
{{ \Carbon\Carbon::createFromFormat('Y-m-d H:i:s', $from)->format('d M Y') }} -
{{ \Carbon\Carbon::createFromFormat('Y-m-d H:i:s', $to)->format('d M Y') }}
Opening Balance: {{ number_format($section['openingBalance'], 2) }}
| Date | Type | Reference | Method | Debit | Credit | Balance |
|---|---|---|---|---|---|---|
| {{ \Carbon\Carbon::parse($t['date'])->format('d-m-Y') }} | {{ $t['type'] }} | {{ $t['ref'] }} | {{ $t['payment_method'] }} | {{ $t['debit'] > 0 ? number_format($t['debit'], 2) : '-' }} | {{ $t['credit'] > 0 ? number_format($t['credit'], 2) : '-' }} | {{ number_format($t['balance'], 2) }} |
Closing Balance: {{ number_format($section['closingBalance'], 2) }}