✓ Order Confirmed

Thank You for Your Order!

Hi {{ $customerName }}, we have received your order and are preparing it for shipment.

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
@php $currSign = $order->currency_sign ?? '₹'; $items = $order->orderitems ?? []; @endphp @forelse($items as $item) @php $itemPrice = (float)($item->price ?? 0); $itemQty = (int)($item->qty ?? 1); $lineTotal = $itemPrice * $itemQty; $variations = !empty($item->variations) ? json_decode($item->variations, true) : null; @endphp @empty @endforelse
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.
@if(!empty($order->discount) && (float)$order->discount > 0) @endif @if(!empty($order->tax) && (float)$order->tax > 0) @endif @if(!empty($order->shipping_charge) && (float)$order->shipping_charge > 0) @endif
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