|
Order Number: #{{ $order->order_number }} |
Order Date: {{ \Carbon\Carbon::parse($order->created_at)->format('d M Y, h:i A') }} |
|
Payment Method: {{ ucfirst($order->method) }} |
Payment Status: {{ ucfirst($order->payment_status) }} |
Ordered Items
| Item | Qty | Price | Total |
|---|---|---|---|
|
{{ $item->title }}
@if(!empty($variations) && is_array($variations))
@foreach($variations as $varKey => $varVal)
@php
$optName = is_array($varVal) ? ($varVal['name'] ?? '') : (is_object($varVal) ? ($varVal->name ?? '') : '');
$optKey = is_string($varKey) ? $varKey : '';
@endphp
{{ $optKey ? $optKey . ': ' : '' }}{{ $optName }}@if(!$loop->last), @endif
@endforeach
@endif
|
{{ $itemQty }} | {{ $currSign }}{{ number_format($itemPrice, 2) }} | {{ $currSign }}{{ number_format($lineTotal, 2) }} |
| Order details recorded. | |||
| Subtotal: | {{ $currSign }}{{ number_format((float)($order->cart_total ?? 0), 2) }} |
| Discount: | -{{ $currSign }}{{ number_format((float)$order->discount, 2) }} |
| Tax / GST{{ !empty($order->tax_percentage) ? ' (' . $order->tax_percentage . '%)' : '' }}: | {{ $currSign }}{{ number_format((float)$order->tax, 2) }} |
| Shipping{{ !empty($order->shipping_method) ? ' (' . $order->shipping_method . ')' : '' }}: | {{ $currSign }}{{ number_format((float)$order->shipping_charge, 2) }} |
| Total Paid: | {{ $currSign }}{{ number_format((float)($order->total ?? 0), 2) }} |
|
Billing Address
{{ $order->billing_fname }} {{ $order->billing_lname }}
{{ $order->billing_address }} {{ $order->billing_city }}@if(!empty($order->billing_state)), {{ $order->billing_state }}@endif {{ $order->billing_country }} 📞 {{ $order->billing_number }} ✉ {{ $order->billing_email }} |
Shipping Address
{{ $order->shipping_fname ?: $order->billing_fname }} {{ $order->shipping_lname ?: $order->billing_lname }}
{{ $order->shipping_address ?: $order->billing_address }} {{ $order->shipping_city ?: $order->billing_city }}@if(!empty($order->shipping_state || $order->billing_state)), {{ $order->shipping_state ?: $order->billing_state }}@endif {{ $order->shipping_country ?: $order->billing_country }} 📞 {{ $order->shipping_number ?: $order->billing_number }} |
@if(!empty($order->invoice_number))
📄 Download Official Invoice (PDF)
@endif