{{-- resources/views/emails/orders/placed.blade.php --}} Order #{{ $order->order_no }}
{{ $appName ?? config('app.name', 'Brand') }}
@unless($toAdmin) @endunless
@if($toAdmin) New Order Received @else Order Confirmation @endif #{{ $order->order_no }}
@if($toAdmin)
New Order Received
An order has been placed on {{ $appName ?? config('app.name') }}. Details below.
@else
Thanks for your purchase!
We've received your order #{{ $order->order_no }}. Please complete one final step to help us process your payment.
@endif
Fill the Buying Declaration Form
Required to complete your purchase.

Order #: {{ $order->order_no }}
Date: {{ $order->created_at->format('Y-m-d H:i') }}
Status: {{ ucfirst($order->status) }}
Total: £{{ number_format((float)$order->total_gbp, 2) }}
Order Items
@php $calcTotal = 0; @endphp @foreach($order->items as $i => $item) @php $qty = (int)($item->qty ?? $item->quantity ?? 0); $unit = (float)($item->unit_gbp ?? $item->price_gbp ?? 0); $line = (float)($item->line_gbp ?? ($qty * $unit)); $calcTotal += $line; @endphp @endforeach
# Item Qty Unit (GBP) Line Total
{{ $i+1 }} {{ $item->title ?? $item->name ?? 'Item' }} {{ $qty }} {{ number_format($unit, 2) }} {{ number_format($line, 2) }}
@if(!is_null($order->subtotal_gbp)) Subtotal: £{{ number_format((float)$order->subtotal_gbp, 2) }}
@endif @if(!is_null($order->vat_gbp)) VAT: £{{ number_format((float)$order->vat_gbp, 2) }}
@endif Total: £{{ number_format((float)($order->total_gbp ?? $calcTotal), 2) }}
@if($toAdmin)
Customer: {{ $order->customer_name ?? $order->user?->name ?? '—' }} ({{ $order->customer_email ?? $order->user?->email ?? '—' }})
@else
If you have any questions, reply to this email. Thanks for shopping with {{ $appName ?? config('app.name') }}!
@endif
© {{ date('Y') }} {{ $appName ?? config('app.name') }}. All rights reserved.