Dear {{ $order->user?->customer?->name ?? $order->user?->name }},
{{-- Status specific message --}} @switch($order->order_status) @case('pending')Thank you for your order! We have received your order and it is being processed.
@break @case('confirmed')Great news! Your order has been confirmed and is being prepared for shipment.
@break @case('shipped')Your order is on its way! Our delivery team will reach you soon.
@break @case('delivered')Your order has been delivered successfully. We hope you are satisfied with your purchase!
@break @case('cancelled')Your order has been cancelled. If you paid online, refund will be processed within 5-7 business days.
@break @case('refund_initiated')Your refund has been initiated and will be credited to your account within 5-7 business days.
@break @case('refunded')Your refund of ₹{{ number_format($order->total_amount, 2) }} has been processed successfully.
@break @case('failed')Unfortunately your order could not be processed. Please try again or contact support.
@break @endswitch {{-- Order Summary Box --}}| Order Number | {{ $order->order_number }} | Order Date | {{ $order->created_at->format('d M Y, h:i A') }} |
| Payment | {{ ucfirst($order->payment_status) }} | Method | {{ $order->payment_method ?? 'PhonePe' }} |
| Product | Pack Size | Qty | Price | Total |
|---|---|---|---|---|
| {{ $item->product_name }} | {{ $item->pack_size_name }} | {{ $item->quantity }} | ₹{{ number_format($item->price, 2) }} | ₹{{ number_format($item->total_price, 2) }} |
| Subtotal | ₹{{ number_format($order->subtotal, 2) }} | |||
| Discount | - ₹{{ number_format($order->discount_amount, 2) }} | |||
| GST | ₹{{ number_format($order->gst_amount, 2) }} | |||
| Grand Total | ₹{{ number_format($order->total_amount, 2) }} | |||
For any queries, contact our support team.
Thank you for choosing Annapurna Cattle Feeds!
Best regards,
Annapurna Cattle Feeds Team