Quotations summary
@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, '.', ',') }} |
No quotations match the current filters.
@else| 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() }} |