@include('admin.layouts.flash')
Quotation Report
Date range results
| Date | @if(Auth::user()->role_id == 3 || Auth::user()->role_id == 6)Creator | @endifShipment Name | Request No | POL | POD | Movement Type | Volume | Shipment Type | Mode | Commodity | Cargo Weight | Deadline Date | Deadline Time | @if(Auth::user()->role_id == 2)Status | Deadline | @endif||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $quotation['date'] }} | @if(Auth::user()->role_id == 3 || Auth::user()->role_id == 6){{ $quotation['creater'] }} | @endif{{ $quotation['shipmentName'] }} | {{ $quotation['request_no'] }} | {{ $quotation['pol'] }} | {{ $quotation['pod'] }} | @if(count($quotation['movementType']) != 0) @foreach($quotation['movementType'] as $val){{ $val->name }} | {{ $val->pivot->unit }} | @endforeach @else@endif | {{ $quotation['shipmenttype'] }} | {{ $quotation['shipmentmode'] }} | {{ $quotation['commodatyname'] }} | {{ $quotation['cargo_weight'] }} | {{ $quotation['deadlinedate'] }} | {{ $quotation['deadlinetime'] }} | @if(Auth::user()->role_id == 2)@php $s = $quotation['status']; $label = $s == 1 ? 'Approved' : ($s == 3 ? 'Expired' : ($s == 4 ? 'Cancelled' : 'Pending')); $cls = $s == 1 ? 'badge-approved' : ($s == 3 ? 'badge-expired' : ($s == 4 ? 'badge-cancelled' : 'badge-pending')); @endphp {{ $label }} | {{ $quotation['deadline'] }} | @endif