@if(app('request')->input('print')=="y") @endif
DELIVERY NOTE / مذكرة تسليم
@foreach($data as $k => $v) @php $slno = 1 @endphp
@php $stringvalue =$v['customer_details']['address']; $str_arr = explode ("?", $stringvalue); $result = count($str_arr); $cust = $v['customer_details']['name']; $cust_arr = explode("?", $cust); $cust_count = count($cust_arr); @endphp
عميل / Customer Details:
@for ($i = 0; $i < $cust_count; $i++) {{ $cust_arr[$i] }}
@endfor
@for ($i = 0; $i < $result; $i++) {{$str_arr[$i]}}
@endfor
@php $remarks = $v['remarks']; $rm_arr = explode ("?", $remarks); if(strpos($remarks, '?') !== true) $prno = $rm_arr[0]; else $prno = ""; if(strpos($remarks, '?') !== false) $qtno = $rm_arr[1]; else $qtno = ""; @endphp
رقم الفاتورة / Delivery No : {{$v['dl_no']}}
@if($prno)
نوع /PR No : {{ $prno }}
@endif
تاريخ الفاتورة / PO No : {{$v['ponumber']}}
@if($qtno)
Quote No: {{ $qtno }}
@endif
الرقم ضريبي للعميل/Cust VAT No: {{$v['customer_details']['gstin']}}
الرقم ضريبي للمورد/Supp VAT No: 30216337400003
@foreach($v['sold_items'] as $vv) @php $slno++ @endphp @endforeach
SL.No
رقم
Description
اسم المنتج
Unit
وحدة
Qty
كمية
@php echo $slno @endphp
@php $myString = $vv['item_details']['name']; $myArray = explode('?', $myString); $result = count($myArray); @endphp @for ($i = 0; $i < $result; $i++) {{$myArray[$i]}}
@endfor
{{ $vv['mesuring_details']['name'] }}
{{$vv['quantity']}}

Customer/Receivers Sign

Total Items: {{ $v['count'] }}
Total Quantity: {{ $v['totalQty'] }}

EBCO

Authorised Signatory

@endforeach