@php use App\Enums\PaymentMethod; use Illuminate\Support\Str; $pay = $order->payment_method; $paymentLabel = $pay instanceof PaymentMethod ? $pay->label() : Str::upper((string) ($pay?->value ?? $pay ?? '')); $discount = (float) ($order->discount ?? 0); @endphp Order {{ $order->order_number }}
@if($pay === PaymentMethod::Cod) @endif @if(filled($order->notes)) @endif
Aromaniacs

Order confirmation

Thank you, {{ $recipientName }}

We’ve received your order and will prepare it for shipment. Your order number is {{ $order->order_number }}.

@if(filled($order->customer_address)) @endif @if(filled($order->customer_phone)) @endif @if(filled($order->customer_email)) @endif @if(filled($order->coupon_code) && $discount > 0) @endif @if($pay === PaymentMethod::Bkash && filled($order->bkash_sender_number)) @endif @if($pay === PaymentMethod::Bkash && filled($order->bkash_transaction_id)) @endif
Ship to {{ $order->customer_address }}
Phone {{ $order->customer_phone }}
Email {{ $order->customer_email }}
Order date {{ $order->placed_at?->format('F j, Y') ?? '—' }}
Payment {{ $paymentLabel }}
Promo {{ $order->coupon_code }}
bKash wallet {{ $order->bkash_sender_number }}
Transaction ID {{ $order->bkash_transaction_id }}
Status {{ ucfirst((string) ($order->status?->value ?? $order->status)) }}

You selected Cash on Delivery. Please have ৳ {{ number_format((float) $order->total, 2) }} ready when your parcel arrives.

Your note

{{ $order->notes }}

Your items

@foreach($order->items as $item) @endforeach
Product Qty Total
{{ $item->label_snapshot }} {{ $item->quantity }} ৳ {{ number_format((float) $item->line_total, 2) }}
@if($discount > 0) @endif
Subtotal ৳ {{ number_format((float) $order->subtotal, 2) }}
Discount −৳ {{ number_format($discount, 2) }}
Delivery ৳ {{ number_format((float) $order->delivery_fee, 2) }}
Total ৳ {{ number_format((float) $order->total, 2) }}
View your orders

Questions? Reply to this email or visit our store.

{{ config('app.name') }} · order confirmation