@if (app('request')->input('print') == 'y') @endif
{{-- --}} logo
QUOTATION / عرض سعر
@foreach ($data as $k => $v) @php $cust = $v['customer_details']['name']; $cust_arr = explode('?', $cust); $cust_count = count($cust_arr); $slno = 1 @endphp
TO:
@for ($i = 0; $i < $cust_count; $i++) {{ $cust_arr[$i] }}
@endfor
CC:
M / S.
{{ $v['customer_details']['bank_name'] }}
Position
{{ $v['customer_details']['account_no'] }}
PHONE:
{{ $v['customer_details']['telephone'] }}
DATE:
{{ $v['bill_date'] }}
REF:
N/A
OUR REF:
{{ $v['bill_no'] }}
@foreach ($v['items'] as $vv) @php $slno++ @endphp @endforeach
ITEM# DESCRIPTION QUANTITY UNIT PRICE UNIT TOTAL AMOUNT
@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['quantity'] }}
{{ $vv['price_per_quantity'] }}
{{ $vv['mesuring_details']['name'] }}
SAR {{ $vv['total'] }}
{{-- --}}
{{-- --}} logo
@endforeach