Dach Construction Ltd

Clients Summary

Generated {{ $generatedAt->format('Y-m-d H:i') }} @if(array_filter($filters)) · Filters: @if($filters['q']) search "{{ $filters['q'] }}" @endif @if($filters['status']) status {{ $filters['status'] }} @endif · Sort {{ $filters['sort'] }} {{ $filters['direction'] }} @endif

@if($clients->isEmpty())

No clients matched the selected filters.

@else @foreach($clients as $c) @php $overdue = (float) ($c->overdue_amount ?? 0); $disp = $overdue > 0 ? 'Overdue' : 'Good Standing'; @endphp @endforeach
Client Name Contact Person Phone Email TIN Projects Active Total Invoiced Outstanding Overdue Status
{{ $c->company_name }} {{ $c->contact_person }} {{ $c->phone }} {{ $c->email }} {{ $c->tin_number }} {{ (int) ($c->projects_count ?? 0) }} {{ (int) ($c->active_projects_count ?? 0) }} {{ \App\Support\Format::plain($c->total_invoiced ?? 0) }} {{ \App\Support\Format::plain($c->outstanding_balance ?? 0) }} {{ \App\Support\Format::plain($overdue) }} {{ $disp }}
Total Clients{{ $summary['total_clients'] }}
Active Contracts{{ $summary['active_contracts'] }}
Total Receivable (MWK){{ \App\Support\Format::plain($summary['total_receivable']) }}
Total Overdue (MWK){{ \App\Support\Format::plain($summary['total_overdue']) }}
@endif