{{ $order->order_date?->format('d M Y') }} · Branch: {{ $order->branch?->name ?? '—' }}
Billed To: {{ $order->customer?->name ?? 'Walk-in Customer' }} @if ($order->customer?->phone) ({{ $order->customer->phone }}) @endif
| Item | Qty | Unit Price | Discount | Tax | Total |
|---|---|---|---|---|---|
|
{{ $item->product?->name ?? 'Item' }}
@if ($item->variant?->variant_name)
{{ $item->variant->variant_name }} @endif @foreach ($item->customizationValues as $value) {{ $value->field?->label }}: @if ($value->field?->field_type === 'image' && $value->image_path) |
{{ $item->quantity }} | Rs. {{ number_format((float) $item->unit_price, 2) }} | Rs. {{ number_format((float) $item->discount_amount, 2) }} | Rs. {{ number_format((float) $item->tax_amount, 2) }} | Rs. {{ number_format((float) $item->total, 2) }} |
| Subtotal | Rs. {{ number_format((float) $order->subtotal, 2) }} |
| Discount | - Rs. {{ number_format((float) $order->discount_amount, 2) }} |
| Tax | Rs. {{ number_format((float) $order->tax_amount, 2) }} |
| Total | Rs. {{ number_format((float) $order->total_amount, 2) }} |
| Paid | Rs. {{ number_format((float) $order->advance_amount, 2) }} |
| Balance Due | Rs. {{ number_format((float) $order->balance_amount, 2) }} |
No payments recorded yet.
@else| Method | Reference | Received By | Amount |
|---|---|---|---|
| {{ ucfirst($payment->method) }} | {{ $payment->reference_no ?? '—' }} | {{ $payment->receivedBy?->name ?? '—' }} | Rs. {{ number_format((float) $payment->amount, 2) }} |