@include('wallet::documents._style')
| Customer | {{ $wallet->customer?->full_name }} |
| Wallet number | {{ $wallet->wallet_number }} |
| Period | {{ $from ?? 'Opening' }} to {{ $to ?? 'today' }} |
| Balance brought forward | {{ $wallet->currency }} {{ number_format((float) $openingBalance, 2) }} |
| Date | Reference | Type | Description | In | Out | Balance |
|---|---|---|---|---|---|---|
| {{ optional($t->created_at)->format('d M Y H:i') }} | {{ $t->reference }} | {{ $t->type }} | {{ $t->description }} | {{ $t->direction === 'in' ? number_format((float) $t->amount, 2) : '' }} | {{ $t->direction === 'out' ? number_format((float) $t->amount, 2) : '' }} | {{ number_format((float) $t->balance_after, 2) }} |
| No transactions in this period. | ||||||
| Totals / balance carried forward | {{ number_format((float) $totalIn, 2) }} | {{ number_format((float) $totalOut, 2) }} | {{ number_format((float) $closingBalance, 2) }} | |||
Produced {{ $produced }} from the wallet ledger.