@if(app('request')->input('print')=="y") @endif
@foreach ($company as $n => $c)
@if ($c['name'])
{{ $c['name'] }}
@endif @if ($c['second_name'])
{{ $c['second_name'] }}
@endif @if ($c['third_name'])
{{ $c['third_name'] }}
@endif @if ($c['cr'])
C.R.: {{ $c['cr'] }}
@endif @if ($c['gstin'])
VAT.: {{ $c['gstin'] }}
@endif
@if ($c['arabic_name'])
{{ $c['arabic_name'] }}
@endif @if ($c['arabic_second_name'])
{{ $c['arabic_second_name'] }}
@endif @if ($c['arabic_third_name'])
{{ $c['arabic_third_name'] }}
@endif @if ($c['arabic_cr'])
{{ $c['arabic_cr'] }}:س.ت
@endif @if ($c['arabic_gstin'])
{{ $c['arabic_gstin'] }}:رقم الضريبي
@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); @endphp
Cust Details / عميل:
{{$v['customer_details']['name']}}
@for ($i = 0; $i < $result; $i++) {{$str_arr[$i]}}
@endfor
VAT No : {{$v['customer_details']['gstin']}}
رقم الفاتورة / Delivery No : {{$v['dl_no']}}
تاريخ الفاتورة / PO No : {{$v['ponumber']}}
@foreach($v['sold_items'] as $vv) @php $slno++ @endphp @endforeach
SL.No
رقم
Description
اسم المنتج
Unit
وحدة
Qty
كمية
@php echo $slno @endphp
@php $myString = $vv['remarks']; $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'] }}

{{ $c['name'] }}

Authorised Signatory

@if ($c['arabic_address']) @endif @if ('address') @endif
{{ $c['arabic_address'] }}
{{ $c['address'] }}
@endforeach @endforeach