{{ $organisation['organisation_name'] }}
Budget Report
Fiscal Year: {{ $budget['fiscal_year']['financial_year'] ?? 'N/A' }} | Period: {{ isset($budget['fiscal_year']['start_date']) ? \Carbon\Carbon::parse($budget['fiscal_year']['start_date'])->format('M d, Y') : 'N/A' }} - {{ isset($budget['fiscal_year']['end_date']) ? \Carbon\Carbon::parse($budget['fiscal_year']['end_date'])->format('M d, Y') : 'N/A' }}
| Code | Account | Type | Allocated Amount | Committed Amount | Spent Amount | Remaining Amount |
|---|---|---|---|---|---|---|
| {{ $categoryName }} | ||||||
| {{ $allocation['description'] ?? 'No description' }} @if(!empty($allocation['account_sub_category']['description'])) - {{ $allocation['account_sub_category']['description'] }} @endif | ||||||
| {{ $item['chart_of_account']['code'] ?? 'N/A' }} | {{ $item['chart_of_account']['name'] ?? 'N/A' }} | {{ $itemType }} | TZS {{ number_format($item['amount'] ?? 0, 2) }} | - | TZS {{ number_format($item['spent_amount'] ?? 0, 2) }} | TZS {{ number_format($item['remaining_amount'] ?? 0, 2) }} |
| Subtotal for {{ $allocation['description'] ?? 'Allocation' }} | TZS {{ number_format($allocated, 2) }} | TZS {{ number_format($committed, 2) }} | TZS {{ number_format($spent, 2) }} | TZS {{ number_format($remaining, 2) }} | ||
| Total {{ $categoryName }} | TZS {{ number_format($categoryTotals['allocated'], 2) }} | TZS {{ number_format($categoryTotals['committed'], 2) }} | TZS {{ number_format($categoryTotals['spent'], 2) }} | TZS {{ number_format($categoryTotals['remaining'], 2) }} | ||
| GRAND TOTAL | TZS {{ number_format($grandTotals['allocated'], 2) }} | TZS {{ number_format($grandTotals['committed'], 2) }} | TZS {{ number_format($grandTotals['spent'], 2) }} | TZS {{ number_format($grandTotals['remaining'], 2) }} | ||