@include("new_design.common.href_lang") @include("new_design.common.gtag_head") @include("new_design.common.gtag_body") @include("new_design.common.fb_pixel") @include('new_design.top-menu') @include('new_design.mid-menu') @include('new_design.cart_sidebar') @include('new_design.nav_menu')
@if( isset($customerBills) ) @if(count($customerBills->bills) == 0) @endif @endif @php($billCount = 1) @php($billStatus = 0) @if($customerBills) @if($customerBills->status OR isset($customerBill->bills)) @php($billStatus = 1) @endif @endif @if($billStatus == 0)
No Bill found
@elseif($billStatus == 1) @foreach($customerBills->bills as $customerBill)
Date {{$customerBill->bill_date}} Bill No {{$customerBill->bill_no}} Location {{$customerBill->location}} Operator {{$customerBill->operator}}
@if(isset($customerBill->items)) @foreach($customerBill->items as $item) @endforeach @else @endif
Type Brand ID Product Serial Qty Unit Price Total Price
{{$item->item_type_name}} {{$item->brand_name}} {{$item->inv_code}} {{$item->item_name}} {{$item->ser_no}} {{$item->qty}} {{number_format($item->unit_price, 0)}} {{number_format($item->total_price, 0)}}
No bills found
@endforeach @endif
@php($quotationCount = 1) @php($quotationStatus = 0) @if($customerQuotations) @if($customerQuotations->status) @php($quotationStatus = 1) @endif @endif @if($quotationStatus == 0)
No Quotation found
@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}}
@if(isset($customerQuotation->items)) @foreach($customerQuotation->items as $item) @endforeach @else @endif
Type Brand ID Product Qty Unit Price Total Price
{{$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)}}
No quotation found
@endforeach @endif @endif
@php($productCount = 1) @php($productStatus = 0) @if($customerProducts) @if($customerProducts->status) @php($productStatus = 1) @endif @endif @if($productStatus == 0)
No product found
@elseif($productStatus == 1)
@if(isset($customerProducts)) @foreach($customerProducts->products as $customerProduct) @endforeach @endif
Type Brand ID Product Qty Bill No Bill Date
{{$customerProduct->item_type_name}} {{$customerProduct->brand_name}} {{$customerProduct->inv_code}} {{$customerProduct->item_name}}
({{$customerProduct->ser_no}})
{{$customerProduct->qty}} {{$customerProduct->bill_no}} {{$customerProduct->bill_date}}
@endif
@include('new_design.footer') {{-- --}}