Order #{{ $record->order_number }}

Status

{{ ucfirst($record->status) }}

Payment Status

{{ ucfirst($record->payment_status) }}

Total

R{{ number_format($record->total, 2) }}

Order Date

{{ $record->created_at->format('M d, Y') }}

Order Items

@if($record->items->count() > 0)
@foreach($record->items as $item) @endforeach
Product Print Stock Type Specifications Price
{{ $item->product->name }} {{ $item->printStock->name ?? 'N/A' }} {{ ucfirst($item->type) }} @if($item->type === 'wallpaper') Length: {{ $item->length }}m @elseif($item->type === 'mural') {{ $item->width }}m × {{ $item->height }}m ({{ number_format($item->width * $item->height, 2) }}m²) @endif R{{ number_format($item->price, 2) }}
Total: R{{ number_format($record->items->sum('price'), 2) }}
@else

No items in this order.

@endif

Customer Information

Name

{{ $record->customer_name }}

Email

{{ $record->customer_email }}

Phone

{{ $record->customer_phone ?? 'N/A' }}

Payment Method

{{ $record->payment_method ?? 'N/A' }}

Shipping Address

{{ $record->shipping_address }}

@if($record->notes)

Notes

{{ $record->notes }}

@endif