{{-- @include('insurance.quotations._table', ['quotations' => $paginator, 'selectable' => bool, 'showCreator' => bool]) --}} @php $selectable ??= false; $showCreator ??= true; $money = fn ($v) => \App\Services\Insurance\QuotationPresenter::money(is_numeric($v) ? (float) $v : 0); @endphp
| pluck('id')->all()))" aria-label="Select all on this page"> | @endifVehicle | Actions | |||||
|---|---|---|---|---|---|---|---|
| @endif |
{{ $q->quotation_no ?: '#'.$q->id }}
@if ($q->is_tata)
TATA AIG · {{ \Illuminate\Support\Str::limit($q->plan_label, 18) }}
@else
HDFC ERGO
@endif
|
{{ $q->name ?: '—' }}
{{ $q->mobileno }}@if ($q->email) · {{ \Illuminate\Support\Str::limit($q->email, 26) }}@endif
|
{{ trim($q->manufacturer_name.' '.$q->vehicle_model) ?: '—' }}
{{ $q->car?->sub_model }}@if ($q->reg_no) · {{ strtoupper($q->reg_no) }}@endif
|
{{ $money($q->total_cost) }} | @if ($showCreator){{ $q->creator_name ?? ($q->user_id ? 'Former user #'.$q->user_id : '—') }} | @endif
{{ $q->created_date?->format('d M Y') }}
{{ $q->created_date?->format('h:i A') }}
|