Sales Order
Sales Order #{{ $order->unique_id ?: 'N/A' }}
Order Date: {{ \Carbon\Carbon::parse($order->created_at)->format('d M Y') }}
Payment Method: {{ $order->payment_method ?? 'N/A' }}
Bill To
{{ $order->user->name ?? 'Customer' }}
{{ $order->user->email ?? 'N/A' }}
{{ $order->delivery_location ?? 'N/A' }}
{{ $order->delivery_area ?? 'N/A' }}
{{ $order->delivery_address ?? 'N/A' }}
{{ $order->user->phone ?? 'N/A' }}
Ship To
{{ $order->user->name ?? 'Customer' }}
{{ $order->user->email ?? 'N/A' }}
{{ $order->delivery_location ?? 'N/A' }}
{{ $order->delivery_area ?? 'N/A' }}
{{ $order->delivery_address ?? 'N/A' }}
{{ $order->user->phone ?? 'N/A' }}
@foreach ($order->cart->cartProducts as $index => $cartProduct) @endforeach
# Item & Description Qty Rate Amount
{{ $index + 1 }} {{ $cartProduct->product->title ?? 'Unnamed Product' }} {{ number_format($cartProduct->quantity, 2) }} {{ number_format($cartProduct->unit_price, 2) }} {{ number_format($cartProduct->quantity * $cartProduct->unit_price, 2) }}
Sub Total {{ number_format($order->cart_total, 2) }}
Shipping charge {{ number_format($order->delivery_charge, 2) }}
Discount {{ number_format($order->discount, 2) }}
Total NPR {{ number_format($order->grand_total, 2) }}