Finance & Accounting Summary
@php $inv = $invoiceStats ?? []; $fmt = fn ($n) => 'MWK '.number_format((float) $n, 2, '.', ','); @endphp| Total Budget | {{ $fmt($inv['total_budget'] ?? 0) }} |
|---|---|
| Total Invoiced | {{ $fmt($inv['total_invoiced'] ?? 0) }} |
| Received | {{ $fmt($inv['received'] ?? 0) }} |
| Outstanding | {{ $fmt($inv['outstanding'] ?? 0) }} |
| Category | Amount | % |
|---|---|---|
| {{ $row['key'] }} | {{ $fmt($row['amount']) }} | {{ number_format($row['pct'], 1) }}% |
| No approved expense transactions in scope. | ||
No transactions match the current filters.
@else| Date | Description | Project | Category | Reference | Type | Amount |
|---|---|---|---|---|---|---|
| {{ optional($t->transaction_date)?->format('Y-m-d') }} | {{ $t->description }} | {{ $t->project?->name ?? 'General' }} | {{ $t->category ?? '—' }} | {{ $t->reference ?? '—' }} | {{ $t->transaction_type }} | @if($t->transaction_type === 'Expense') -{{ $fmt(abs((float) $t->amount)) }} @else {{ $fmt((float) $t->amount) }} @endif |