| Order # | {{ $order->order_number }} |
| Items | {{ $order->items->whereNull('parent_order_item_id')->count() }} |
| Qty | {{ $order->items->sum('quantity') }} |
| Source | {{ strtoupper($order->sales_channel) }} |
| Method | {{ ucwords(str_replace('_',' ', $order->payment_method)) }} |
| Status | {{ ucfirst($order->payment_status) }} |
| Total | {{ format_currency($order->total_amount) }} |
| Invoice # | {{ $order->invoice?->invoice_number ?? '-' }} |
| Date | {{ $order->invoice?->issued_at?->format('d M Y') }} |
| Time | {{ $order->invoice?->issued_at?->format('h:i A') }} |
| Product | Qty | Original | Sale | Final | Discount | Tax | Line Total |
|---|---|---|---|---|---|---|---|
|
@if($item->parent_order_item_id)
↳
@endif
{{ $productName }}
@if($variant)
Variant :
{{ $variant }}
@endif
@if($sku)
SKU :
{{ $sku }}
@endif
|
{{ $item->quantity }} | {{ format_currency($item->original_price) }} | @if($item->sale_price) {{ format_currency($item->sale_price) }} @else - @endif | {{ format_currency($item->final_price) }} | @if($item->discount_amount>0) - {{ format_currency($item->discount_amount) }} @else - @endif | @if($item->tax_amount>0) + {{ format_currency($item->tax_amount) }} @else - @endif | {{ format_currency( $item->line_total - $item->discount_amount + $item->tax_amount ) }} |