@if(app('request')->input('print')=="y") @endif
VAT: 302126337400003
الرقم الضريبي: ٣٠٢١٢٦٣٣٧٤٠٠٠٠٣
QUOTATION / عرض سعر
@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
الرقم ضريبي للعميل/Cust VAT No: {{$v['customer_details']['gstin']}}
@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
تاريخ /Quote Date : {{$v['bill_date']}}
رقم /Quote No : {{$v['bill_no']}}
نوع /Payment Terms : {{$v['payment_mode']}}
@if($prno)
PR No: {{ $prno }}
@endif @if($qtno)
Quote No: {{ $qtno }}
@endif
@foreach($v['items'] as $vv) @php $slno++ @endphp @endforeach
SL.No
رقم
Description
اسم المنتج
Qty
كمية
Unit
وحدة
Price
اسعر الوحده
Total Price
اسعر الإجمالي
@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['mesuring_details']['name']}}
{{$vv['price_per_quantity']}}
{{$vv['total']}}
@if($v['banks'])
Account Name: {{ $v['banks']['account_name'] }}
Account No: {{ $v['banks']['account_no'] }}
IBAN: {{ $v['banks']['ibaan_no'] }}
Bank Name: {{ $v['banks']['name'] }}
Branch Name: {{ $v['banks']['branch_name'] }}
@endif
المبلغ الإجمالي / Taxable : {{$v['taxable_amt']}}
ضريبة / VAT @ 15% : {{$v['tax']}}
المجموع الصافي / Net Total: {{$v['net_total']}}
Authorised Signatory
@php $en = new NumberFormatter('en', NumberFormatter::SPELLOUT); $enamt = $en->format($v['net_total']); $ar = new NumberFormatter('ar', NumberFormatter::SPELLOUT); $aramt = $ar->format($v['net_total']); @endphp
SAR: {{ $enamt }}
ريال سعودي: {{ $aramt }}
Customer Sign
@endforeach