@php($quotationCount = 1)
@php($quotationStatus = 0)
@if($customerQuotations)
@if($customerQuotations->status)
@php($quotationStatus = 1)
@endif
@endif
@if($quotationStatus == 0)
@elseif($quotationStatus == 1)
@if(isset($customerQuotations->quotations))
@foreach($customerQuotations->quotations as $customerQuotation)
|
Date {{$customerQuotation->quotation_date}}
|
Quotation
No {{$customerQuotation->quotation_no}}
|
Location {{$customerQuotation->location}}
|
Operator {{$customerQuotation->operator}}
|
| Type |
Brand |
ID |
Product |
Qty |
Unit
Price
|
Total
Price
|
@if(isset($customerQuotation->items))
@foreach($customerQuotation->items as $item)
| {{$item->item_type_name}} |
{{$item->brand_name}} |
{{$item->inv_code}} |
{{$item->item_name}} |
{{$item->qty}} |
{{number_format($item->unit_price, 0)}} |
{{number_format($item->total_price, 0)}} |
@endforeach
@else
| No quotation found |
@endif
@endforeach
@endif
@endif