@php $address = json_decode($order->order_address); $shipping = json_decode($order->shipping_method); $coupon = json_decode($order->coupon); @endphp
Dear {{ $user->name }},
We are excited to inform you that your order #{{ $order->invoice_id }} has been successfully processed.
Your package will be on its way shortly. You will receive a shipping confirmation email soon.
Order Details:
| Image | Name | Quantity | Unit Price | Total Price |
|---|---|---|---|---|
| {{ $orderProduct->product_name }} | {{ $orderProduct->qty }} | {{ formatAmount($orderProduct->unit_price, $settings) }} | {{ formatAmount($orderProduct->unit_price * $orderProduct->qty, $settings) }} | |
| Discount(-) | {{ @$coupon->type === 'percent' ? @$coupon->discount . '%' : formatAmount(@$coupon->discount, $settings) }} | |||
| Subtotal | {{ formatAmount($order->sub_total, $settings) }} | |||
| Shipping Cost | {{ formatAmount(@$shipping->cost, $settings) }} | |||
| Total | {{ formatAmount($order->amount, $settings) }} | |||
If you have any questions or need further assistance, please feel free to contact our customer support team:
Thank you for choosing {{ config('app.name') }}. We look forward to completing your order soon.