POS Order {{ $order->order_number }}

@if($order->invoice?->pdf_path) Download PDF @endif
Customer
{{ trim(($order->contact?->first_name ?? $order->guest_name).' '.($order->contact?->last_name ?? '')) ?: 'Guest' }}
{{ $order->contact?->email ?? $order->guest_email }}
{{ $order->contact?->phone1 ?? $order->guest_phone }}
Payment
{{ ucwords(str_replace('_',' ', $order->payment_status)) }}
Total: {{ format_currency($order->total_amount) }}
Invoice
{{ $order->invoice?->invoice_number ?? '-' }}
{{ $order->invoice?->issued_at?->format('M d, Y h:i A') }}
@if($order->customer_notes || $order->order_notes)
Customer Notes
{{ $order->customer_notes ?: '-' }}
Order Notes
{{ $order->order_notes ?: '-' }}
@endif
@foreach($order->items as $item) @endforeach
ItemQtyOriginalSaleFinalDiscountTaxLine Total
{{ $item->parent_order_item_id ? '↳ ' : '' }}{{ $item->item_name_snapshot }} {{ $item->quantity }} {{ format_currency($item->original_price) }} {{ $item->sale_price !== null ? format_currency($item->sale_price) : '-' }} {{ format_currency($item->final_price) }} {{ format_currency($item->discount_amount) }} {{ format_currency($item->tax_amount) }} {{ format_currency($item->line_total - $item->discount_amount + $item->tax_amount) }}
Subtotal{{ format_currency($order->subtotal_amount) }}
Discount{{ format_currency($order->discount_amount) }}
Tax{{ format_currency($order->tax_amount) }}

Total{{ format_currency($order->total_amount) }}