Date: {{ date('F j, Y') }}
Currency: {{ $currnames }}
Period: {{ $pfrom }} to {{ $pto }}
| Current State Summary | Amount | Count | |||
|---|---|---|---|---|---|
| Pending | {{ number_format($summary['statusAmounts']['pending'] ?? 0, 2) }} | {{ $summary['statusCounts']['pending'] ?? 0 }} | |||
| Approved | {{ number_format($summary['statusAmounts']['approved'] ?? 0, 2) }} | {{ $summary['statusCounts']['approved'] ?? 0 }} | |||
| Rejected | {{ number_format($summary['statusAmounts']['rejected'] ?? 0, 2) }} | {{ $summary['statusCounts']['rejected'] ?? 0 }} | |||
| Reversed | {{ number_format($summary['statusAmounts']['reversed'] ?? 0, 2) }} | {{ $summary['statusCounts']['reversed'] ?? 0 }} | |||
| Approval Rate | {{ number_format($summary['approvalRate'] ?? 0, 2) }}% | {{ $summary['totalEntries'] ?? 0 }} | |||
| Date | Account Code | Account Name | Description | Debit | Credit | Status | Currency |
|---|---|---|---|---|---|---|---|
| {{ \Carbon\Carbon::parse($entry->date)->format('M d, Y') }} | {{ $entry->account->code ?? 'N/A' }} | {{ $entry->account->name ?? 'N/A' }} | {{ $entry->narration }} | {{ $entry->tr_code == 'DR' ? number_format($entry->amount, 2) : '-' }} | {{ $entry->tr_code == 'CR' ? number_format($entry->amount, 2) : '-' }} | {{ strtoupper($entry->status ?? 'pending') }} | {{ $entry->currency_name ?? ($entry->currency->currency_name ?? 'N/A') }} |
| No journal entries found | |||||||
| Total | {{ number_format($totalDebit, 2) }} | {{ number_format($totalCredit, 2) }} | |||||