Invoice

Tax Invoice Seller Buyer
@if($order->order_type == 1) @endif
Order No {{$order->order_number}}
Invoice Date {{ get_date_in_timezone($order->created_at, 'd-M-y h:i A') }}
Pick Up Date {{ $order->pick_up_date ? date('d-M-y',strtotime($order->pick_up_date)) : '-' }}
Pick Up Time {{ $order->pick_up_time ?? '-' }}

{{$order->vendor->vendordata->company_name ?? ''}}

{{$order->vendor->vendordata->location ?? ''}}

{{$name}}

@if($order->address) {{$order->address->dial_code.$order->address->phone}} {{($order->address->apartment.',')??''}} {{($order->address->building_name .',' )??''}} {{($order->address->street.',')??''}} {{$order->address->area_name}}
{{$order->address->city_name}}
{{$order->address->country_name}}
@endif

@foreach ($order->products as $key=>$prd) @endforeach
No Product Name Qty Price ({{$currency}} ) Grand Total ({{$currency}} )
{{$key+1}}

{{$prd->product_name}}

@php $product_attributes_full = \App\Models\ProductModel::getSelectedProductAttributeValsFull($prd->product_variant_id); @endphp @if(!empty($product_attributes_full)) @foreach($product_attributes_full as $vv)

{{$vv->attribute_name}}: {{$vv->attribute_values}}

@endforeach @endif
{{$prd->quantity}} {{$prd->price}} {{$prd->total}}
Payment Type {{payment_mode($order->payment_mode)}}
Subtotal {{$currency}} {{number_format($order->total, 2, '.', '')}}
Delivery Charge {{$currency}} {{number_format($order->shipping_charge, 2, '.', '')}}
Service Charge {{$currency}} {{number_format($order->service_charge, 2, '.', '')}}
Discount {{$currency}} {{number_format($order->discount, 2, '.', '')}}
VAT {{$currency}} {{number_format($order->vat, 2, '.', '')}}
Grand Total {{$currency}} {{number_format($order->grand_total, 2, '.', '')}}