Generated on {{ now()->format('d M Y, h:i A') }}
| Order ID: | {{ $order->order_id }} | Order Date: | {{ $order->created_at->format('d M Y, h:i A') }} |
|---|---|---|---|
| Status: | {{ $order->status_label }} | Payment Status: | {{ $order->payment_status ? ucfirst($order->payment_status) : 'Pending' }} |
| Name: | {{ $order->customer_name ?: 'N/A' }} | Phone: | {{ $order->customer_phone }} |
|---|---|---|---|
| Delivery Address: | {{ $order->delivery_address }} | ||
| Product | Quantity | Price | Total |
|---|---|---|---|
|
{{ $item['display_name'] ?? 'Product Item' }}
@if(isset($item['product_description']))
{{ $item['product_description'] }} @endif |
{{ $item['quantity'] ?? 1 }} | {{ $order->currency }} {{ number_format($item['item_price'] ?? 0, 2) }} | {{ $order->currency }} {{ number_format(($item['item_price'] ?? 0) * ($item['quantity'] ?? 1), 2) }} |
| Subtotal | {{ $order->currency }} {{ number_format($order->getSubtotal(), 2) }} | ||
| Tax | {{ $order->currency }} {{ number_format($order->tax_amount, 2) }} | ||
| Shipping | {{ $order->currency }} {{ number_format($order->shipping_amount, 2) }} | ||
| Discount | -{{ $order->currency }} {{ number_format($order->discount_amount, 2) }} | ||
| Total | {{ $order->currency }} {{ number_format($order->getFinalAmount(), 2) }} | ||
| Payment ID | Amount | Status | Date |
|---|---|---|---|
| {{ $payment->payment_id }} | {{ $payment->formatted_amount }} | {{ $payment->status_label }} | {{ $payment->created_at->format('d M Y, h:i A') }} |