{{ config('app.name') }} @yield('badge', 'OFFICIAL')

ACCOUNT STATEMENT

Account Holder: {{ $user['first_name']}}

Period: {{ $fromDate }} to {{ $toDate }}

@foreach ($transactions as $txn) @endforeach
Date Description Type Amount
{{ $txn->created_at->format('Y-m-d') }} {{ $txn->remark }} {{ ucfirst($txn->type) }} @if ($txn->type == 'deposit' || $txn->type == 'transfer') {{ $txn->currency_code }} {{ number_format($txn->recieved_amount, 2) }} @endif @if ($txn->type == 'withdrawal') {{ $txn->currency_code }} {{ number_format($txn->sending_amount, 2) }} @endif