@if(!empty($orderInfo)) @foreach($orderInfo['order_items'] as $order) @endforeach @endif @if(Helper::widgetAccess('show_column_tax_amount')) @endif @if(!empty($orderInfo)) @foreach($orderInfo['voided_items'] as $v) @endforeach @endif
{!!($orderInfo['topLine'])?nl2br($orderInfo['topLine']):""!!} {{$orderInfo['station_name']}}
{{($orderInfo['call_number'])?$orderInfo['call_number']:""}}
{{($orderInfo['customer_name'])?$orderInfo['customer_name']:""}}
Order #: {{($orderInfo['app_order_id'])?$orderInfo['app_order_id']:""}}
Date: {{($orderInfo['order_date'])?$orderInfo['order_date']:""}}
Ordered items Qty Rate Price
{{$order['product_name']}} {{$order['quantity']}} {{storecurrency().number_format($order['rate'],2)}} {{storecurrency().number_format($order['price'],2)}}
Order Sub Total: {{storecurrency().($orderInfo['order_sub_total'])?number_format($orderInfo['order_sub_total'],2):0.00}}
Tax Amount: {{storecurrency()}}{{($orderInfo['tax_amount'])?number_format($orderInfo['tax_amount'],2):0.00}}
Discount: {{storecurrency()}}{{($orderInfo['discounts'])?number_format($orderInfo['discounts'],2):0.00}}
Total: {{storecurrency()}}{{($orderInfo['order_total_amount'])?number_format($orderInfo['order_total_amount'],2):0.00}}

Voided Items Qty Rate Price
{{$v['product_name']}} {{$v['quantity']}} {{storecurrency().number_format($v['rate'],2)}} {{storecurrency().number_format($v['price'],2)}}

@if($orderInfo['payment_details']) @endif
@php $payment = $orderInfo['payment_details'][0]; @endphp
Card Details: {{($payment['card_details'])?$payment['card_details']:""}}
Transaction ID: {{($payment['transaction_id'])?$payment['transaction_id']:"" }}
Transaction Amount: {{storecurrency()}}{{($payment['transaction_amount'])?number_format((double)$payment['transaction_amount'],2):""}}
@php $custoCharge = 0.00; if($orderInfo['customer_change']>0||$orderInfo['customer_change']==0.0) { $custoCharge = number_format($orderInfo['customer_change'],2); } @endphp @php $amountDue = 0.00; if($orderInfo['amount_due']>0||$orderInfo['amount_due']==0.0) { $amountDue = number_format($orderInfo['amount_due'],2); } @endphp
Customer Paid Amount: {{storecurrency()}}{{($orderInfo['customer_paid_amount'])?number_format((double)$orderInfo['customer_paid_amount'],2):0.00}}
Customer Change:{{storecurrency().$custoCharge}}
Amount Due:{{storecurrency().$amountDue }}

{!!($orderInfo['bottomLine'])?nl2br($orderInfo['bottomLine']):"Thank you for your order!"!!}