{{ $statementData['statement_period_start']->format('d M Y') }} To {{ $statementData['statement_period_end']->format('d M Y') }}
| Account Summary | |
|---|---|
| Opening Balance: | BDT {{ number_format(0, 2) }} |
| Invoiced Amount: | BDT {{ number_format($statementData['total_invoice_amount'], 2) }} |
| Amount Received: | BDT {{ number_format($statementData['total_paid_amount'], 2) }} |
| Balance Due: | BDT {{ number_format($statementData['total_invoice_amount'] - $statementData['total_paid_amount'], 2) }} |
| Date | Details | Transactions | Amount | Payments | Balance |
|---|---|---|---|---|---|
| {{ $transaction['date']->format('d M Y') }} | {{ $transaction['details'] }} | @if($transaction['type'] === 'Opening Balance') ***Opening Balance*** @else {{ $transaction['type'] }} @endif | @if($transaction['amount'] > 0) {{ number_format($transaction['amount'], 2) }} @endif | @if($transaction['payment'] > 0) {{ number_format($transaction['payment'], 2) }} @endif | {{ number_format($transaction['balance'], 2) }} |