# {{ $headline }}
Hi {{ Str::before($order->user->name ?? 'there', ' ') }},
@foreach ($intro as $paragraph)
{{ $paragraph }}
@endforeach
**Order #{{ $order->number }}** ยท placed {{ $order->placed_at->format('d M Y') }}
@if ($highlight ?? null){{ $highlight }}
@endif
@if ($order->deliveryPreference())Preferred delivery: {{ $order->deliveryPreference() }}
@endif
@if ($showItems ?? true)
@foreach ($order->items->groupBy('seller_name')->values() as $i => $items)
**Delivery {{ $i + 1 }}**
| Item | Qty | Amount |
|:-----|:---:|-------:|
@foreach ($items as $item)
| {{ $item->displayName() }} | {{ $item->qty }} | {{ inr($item->line_total) }} |
@endforeach
@endforeach
| | |
|:--|--:|
| Items | {{ inr($order->subtotal) }} |
@if ((float) $order->discount > 0)
| Coupon {{ $order->coupon_code }} | -{{ inr($order->discount) }} |
@endif
| Delivery | {{ (float) $order->shipping_fee > 0 ? inr($order->shipping_fee) : 'Free' }} |
@if ((float) $order->packing_fee > 0)
| Packing | {{ inr($order->packing_fee) }} |
@endif
| **Order total** | **{{ inr($order->total) }}** |
@endif
{{ $button ?? 'View your order' }}
@foreach ($outro ?? [] as $paragraph)
{{ $paragraph }}
@endforeach
Thank you for building with us,
{{ settings('general.site_name') }}