SJL Trusted Jewels
Order Invoice

Order #{{ $order->order_no }}

Date: {{ $order->created_at->format('Y-m-d H:i') }}
Status: {{ ucfirst($order->status) }}

Customer
{{ $order->customer_name ?? '—' }}
{{ $order->customer_email ?? '—' }}
Billing
@if(!empty($order->user?->name)) {{ $order->user->name }}
@endif @if(!empty($order->user?->address)) {{ $order->user->address }}
@endif @if(!empty($order->user?->house_no)) {{ $order->user->house_no }}
@endif @if(!empty($order->user?->street_name)) {{ $order->user->street_name }}
@endif @if(!empty($order->user?->city) || !empty($order->user?->postal_code)) {{ $order->user?->city }} {{ $order->user?->postal_code }}
@endif @if(!empty($order->billing_country)) {{ $order->billing_country }} @endif
@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 = $qty * $unit; $calcTotal += $line; @endphp @endforeach
# Item Qty Unit (GBP) Line Total
{{ $i + 1 }} {{ $item->title ?? $item->name ?? 'Item' }} @if(!empty($item->sku))
SKU: {{ $item->sku }}@endif @if(!empty($item->notes))
{{ $item->notes }}@endif
{{ $qty }} {{ number_format($unit, 2) }} {{ number_format($line, 2) }}
@php $subtotal = isset($order->subtotal_gbp) ? (float)$order->subtotal_gbp : $calcTotal; $vat = isset($order->vat_gbp) ? (float)$order->vat_gbp : 0.0; $grand = isset($order->total_gbp) ? (float)$order->total_gbp : ($subtotal + $vat); @endphp
@if(!is_null($order->subtotal_gbp))
Subtotal
£{{ number_format($subtotal, 2) }}
@endif @if(!is_null($order->vat_gbp))
VAT
£{{ number_format($vat, 2) }}
@endif
Total
£{{ number_format($grand, 2) }}
Thank you for your purchase from SJLJewels. If you have any questions about this order, please reply to this email or contact support.