Mr Bismarck
Statement Generated: {{ now()->format('d M Y, H:i') }}
Period: {{ $from ?? 'All time' }} – {{ $to ?? 'Present' }}
Account Holder {{ $user->name }} Phone {{ $user->phone }}
Email {{ $user->email ?? '—' }} Country {{ $user->country_code }}
Wallet Balance {{ number_format($wallet->balance, 2) }} {{ $wallet->currency }} Account No. WAL-{{ str_pad($wallet->id, 8, '0', STR_PAD_LEFT) }}
@forelse($transactions as $txn) @empty @endforelse
Date Ref Type Narration Channel Amount Balance
{{ $txn->created_at->format('d M Y H:i') }} {{ $txn->txn_ref }} {{ str_replace('_', ' ', \Illuminate\Support\Str::title($txn->type)) }} {{ $txn->narration }} {{ str_replace('_', ' ', \Illuminate\Support\Str::title($txn->payment_channel)) }} {{ $txn->direction === 'credit' ? '+' : '-' }}{{ number_format($txn->amount, 2) }} {{ number_format($txn->balance_after, 2) }}
No transactions found for this period.
Total Credits +{{ number_format($transactions->where('direction','credit')->sum('amount'), 2) }}
Total Debits -{{ number_format($transactions->where('direction','debit')->sum('amount'), 2) }}
Closing Balance {{ number_format($wallet->balance, 2) }} {{ $wallet->currency }}