Dach Construction Ltd

Quotations summary

Generated {{ $generatedAt->format('Y-m-d H:i') }} @php $f = $filters ?? []; @endphp @if(array_filter($f))
Filters: @if(($f['status'] ?? '') !== '' && ($f['status'] ?? '') !== 'all') 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['date_from'])) · from {{ $f['date_from'] }} @endif @if(!empty($f['date_to'])) · to {{ $f['date_to'] }} @endif @endif

@php $s = $stats ?? []; @endphp
Total quotations{{ $s['total'] ?? 0 }}
Pending{{ $s['pending'] ?? 0 }}
Approved{{ $s['approved'] ?? 0 }}
Total value (filtered)MWK {{ number_format($s['total_value'] ?? 0, 2, '.', ',') }}
@if($quotations->isEmpty())

No quotations match the current filters.

@else @foreach($quotations as $q) @endforeach
Reference # Client Description Issue date Valid until Value Status
{{ $q->reference_number }} {{ $q->client?->company_name }} {{ \Illuminate\Support\Str::limit($q->description, 60) }} {{ optional($q->issue_date)?->format('Y-m-d') }} {{ optional($q->valid_until)?->format('Y-m-d') }} {{ number_format((float) $q->total_value, 2, '.', ',') }} {{ $q->displayStatus() }}
@endif