@include('mails.partials.chrome-start') @php $name = $order->user->name ?? $order->enquiry->contact_person ?? 'Customer'; $sar = fn ($v) => trim(config('constants.currency_symbol')) . ' ' . number_format((float) $v, 2); @endphp

Your factory order has been placed

Hi {{ ucwords($name) }},

We have received your factory order. Please find the details below.

Order {{ $order->number() }}
Product {{ $order->product_name }}
Quantity {{ $order->quantity }}
Subtotal {{ $sar($order->subtotal) }}
VAT ({{ rtrim(rtrim(number_format((float) $order->vat_rate, 2), '0'), '.') }}%) {{ $sar($order->vat_amount) }}
Grand Total {{ $sar($order->grand_total) }}
Advance ({{ $order->advance_percent }}%) {{ $sar($order->advance_amount) }}
Status {{ $order->statusLabel() }}

@if($order->requiresAdvancePayment()) Please upload your advance payment receipt from your dashboard so we can confirm the order. @else We will confirm this order shortly. The full balance can be paid after completion or delivery. @endif

@include('mails.partials.chrome-end')