@php $data = json_decode($data); @endphp Order #{{ $data->order_number }}
{{ $data->store->name }}
Order #{{ $data->order_number }} Date: {{ $data->created_at_label }}
@foreach ($data->products as $order_products) @php $addon_spacing = ''; $addon_indicator = ''; if($order_products->parent_order_product == false){ $addon_spacing = ' pl-12'; $addon_indicator = '+ '; } @endphp @endforeach
Description Qty Rate Amount
{{ $addon_indicator }}{{ $order_products->product_code.'-'.$order_products->name }} {{ $order_products->quantity }} {{ $order_products->price }} {{ $order_products->sub_total }}
@if($data->additional_discount_percentage > 0) @endif
Sub Total {{ $data->sale_amount_subtotal_excluding_tax }}
Discount {{ $data->total_discount_before_additional_discount }}
Additional Discount ({{ $data->additional_discount_percentage }}%) {{ $data->additional_discount_amount }}
Tax {{ $data->total_tax_amount }}
Bill Total {{ $data->store->currency_code }} {{ $data->total_order_amount }}
All prices are in {{ $data->store->currency_name }} ({{ $data->store->currency_code }})
@if(isset($data->order_type_data) && $data->order_type_data->order_type_constant == 'DELIVERY' && ($data->contact_number != '' || $data->address != ''))
Delivery Information
Contact Number: {{ ($data->contact_number)?$data->contact_number:'-' }} @if($data->address != '')
Address: {{ $data->address }} @endif
@endif
Thank You!