{{ $sfStore->name }} - Order Receipt

Order #: {{ $order->order_number }}

Date: {{ $order->created_at }}

Customer: {{ $order->customer_name }}

Email: {{ $order->customer_email ?: '-' }}

Phone: {{ $order->customer_phone ?: '-' }}

Payment Method: {{ ucwords(str_replace('_', ' ', (string) ($order->payment_method ?? 'N/A'))) }}

Transaction ID: {{ $order->transaction_id ?: '-' }}

Card Last 4: {{ $order->card_last_four ?: '-' }}

@foreach($order->orderDetails as $line) @endforeach
Item Qty Unit Total
{{ $line->product_name }} @if($line->variant_name) ({{ $line->variant_name }}) @endif {{ $line->quantity }} {{ format_currency($line->final_unit_price) }} {{ format_currency($line->line_total) }}
Base Price Subtotal{{ format_currency($order->order_base_price) }}
Subtotal (Excl. Discount & Tax){{ format_currency($order->subtotal) }}
Discounts{{ format_currency($order->total_discount) }}
Coupon Discount{{ format_currency($order->coupon_discount ?? 0) }}
Subtotal (After Discount){{ format_currency($order->subtotal_after_discount) }}
TAX{{ format_currency($order->total_tax) }}
Payable Amount{{ format_currency($order->grand_total) }}