Dach Construction Ltd

Invoices summary

Generated {{ $generatedAt->format('Y-m-d H:i') }} @php $f = $filters ?? []; @endphp @if(array_filter($f))
Filters: @if(($f['status'] ?? '') !== '') status {{ $f['status'] }} @endif @if(!empty($f['q'])) · search "{{ $f['q'] }}" @endif @if(!empty($f['client_id'])) · client #{{ $f['client_id'] }} @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 $s = $stats ?? []; @endphp
Total invoicedMWK {{ number_format($s['total_invoiced'] ?? 0, 2, '.', ',') }}
PaidMWK {{ number_format($s['paid_total'] ?? 0, 2, '.', ',') }}
OutstandingMWK {{ number_format($s['outstanding_total'] ?? 0, 2, '.', ',') }}
OverdueMWK {{ number_format($s['overdue_total'] ?? 0, 2, '.', ',') }}
@if($invoices->isEmpty())

No invoices match the current filters.

@else @foreach($invoices as $i) @endforeach
Invoice # Client Project Invoice date Due date Amount Fiscal code Status
{{ $i->invoice_number }} {{ $i->client?->company_name }} {{ $i->project?->name }} {{ optional($i->invoice_date)?->format('Y-m-d') }} {{ optional($i->due_date)?->format('Y-m-d') }} {{ number_format((float) $i->total_amount, 2, '.', ',') }} {{ $i->mra_fiscal_code ?? '—' }} {{ $i->status }}
@endif