@extends('layouts.app') @section('title', 'Quotations List') @section('page_title', 'Quotation Management') @section('content')
| Quotation # | Customer | Date Issued | Expiry Date | Total Amount | Status | Actions |
|---|---|---|---|---|---|---|
| {{ $q->quotation_number }} |
{{ $q->client->full_name }}
{{ $q->client->client_code }}
|
{{ $q->quotation_date->format('M d, Y') }} | {{ $q->expiry_date ? $q->expiry_date->format('M d, Y') : '-' }} | {{ number_format($q->total_amount) }} UGX | @php $badge = match($q->status) { 'draft' => 'secondary', 'sent' => 'primary', 'approved' => 'success', 'rejected' => 'danger', 'expired' => 'dark', 'converted' => 'info', default => 'secondary' }; @endphp {{ ucfirst($q->status) }} | View |
| No quotations generated yet. | ||||||