{{$records['order']['user']['location']['location']}}

@php $addressParts = explode(',', $records['order']['user']['location']['address']); @endphp

{{ $addressParts[0] ?? '' }}

{{ ($addressParts[1] ?? '') . (isset($addressParts[2]) ? ',' . $addressParts[2] : '') }}

{{ implode(',', array_slice($addressParts, 3)) }}

Mob No: {{$records['order']['user']['location']['phone_number']}}

PRE CASH INVOICE

PRE CASH INVOICE

Mob No: {{$records['order']['customerCashPre']['phone_number'] ?? 'N/A'}}

MR NO: {{ $records['order']['ref_id'] }}

Date: {{ $records['order']['order_date'] }}

@foreach($records['items'] as $index => $record) @endforeach
Sl. No Product Name Packing Qty Unit Unit Price VAT(%) VAT Amount Total Amount
{{ $loop->iteration }} {{ $record['item_name'] }} {{ $record['packing'] }} {{ $record['quantity'] }} {{ $record['unit'] }} {{ $record['price_per_qty'] }} {{ $record['item_VAT_Per'] ?? '0.000' }} {{ $record['item_vat_number'] ?? '0.000' }} {{ $record['item_total_price'] }}
Total VAT: {{$records['total_vat']}}
Total: {{$records['order']['total_price']}}