@foreach($company as $n => $c)
@foreach ($data as $k => $v)
@php
$slno = 1;
@endphp
@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.R.: {{ $c['arabic_cr'] }}
@endif
@if($c['arabic_gstin'])
VAT: {{ $c['arabic_gstin'] }}
@endif
|
ADVANCE RECEIPT / إيصال مسبق |
@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 |
|
VAT No :
{{ $v['customer_details']['gstin'] }}
|
نوع /Payment Terms :
{{ $v['type'] }}
|
SL.No
رقم |
Advance No
اسم المنتج |
Date
اسم المنتج |
Amount
كمية |
Description
اسم المنتج |
---|---|---|---|---|
@php
echo $slno;
@endphp
|
{{$v['advance_no']}}
|
{{ $v['date'] }}
|
{{ $v['advance_amount'] }}
|
{{ $v['remarks'] }}
|
@php
$slno++;
@endphp
Customer Sign
|
@php $en = new NumberFormatter('en', NumberFormatter::SPELLOUT); $enamt = $en->format($v['advance_amount']); $ar = new NumberFormatter('ar', NumberFormatter::SPELLOUT); $aramt = $ar->format($v['advance_amount']); @endphp |
{{ $c['name'] }} Authorised Signatory |
{{ $c['arabic_address'] }}
|
@endif
{{ $c['address'] }}
|
@endif