Dach Construction Ltd

Finance & Accounting Summary

Generated {{ $generatedAt->format('Y-m-d H:i') }} @php $f = $filters ?? []; @endphp @if(array_filter($f))
Filters applied: @if(!empty($f['q'])) search "{{ $f['q'] }}" @endif @if(!empty($f['type'])) · type {{ $f['type'] }} @endif @if(!empty($f['category'])) · category {{ $f['category'] }} @endif @if(!empty($f['project_id'])) · project #{{ $f['project_id'] }} @endif @if(!empty($f['date_from'])) · from {{ $f['date_from'] }} @endif @if(!empty($f['date_to'])) · to {{ $f['date_to'] }} @endif @endif

@php $inv = $invoiceStats ?? []; $fmt = fn ($n) => 'MWK '.number_format((float) $n, 2, '.', ','); @endphp

Summary

Total Budget{{ $fmt($inv['total_budget'] ?? 0) }}
Total Invoiced{{ $fmt($inv['total_invoiced'] ?? 0) }}
Received{{ $fmt($inv['received'] ?? 0) }}
Outstanding{{ $fmt($inv['outstanding'] ?? 0) }}

Cost breakdown

@forelse(($costBreakdown['rows'] ?? []) as $row) @empty @endforelse
CategoryAmount%
{{ $row['key'] }} {{ $fmt($row['amount']) }} {{ number_format($row['pct'], 1) }}%
No approved expense transactions in scope.

Transactions

@if($transactions->isEmpty())

No transactions match the current filters.

@else @foreach($transactions as $t) @endforeach
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
@endif