{{ $settings->shop_address ?? '123 Business Avenue, Sri Lanka' }}
Tel: {{ $settings->shop_phone ?? '+94 11 234 5678' }} | Email: {{ $settings->shop_email ?? 'admin@poslink.lk' }}
Invoice: {{ $sale->invoice_no }}
| # | Item & Variation | Qty | Price | Disc. | Total |
|---|---|---|---|---|---|
| {{ $index + 1 }} |
{{ $item->product->name ?? 'N/A' }}
@if($item->variation)
Variation: {{ $item->variation->variationType->name ?? $item->variation->name }}
@endif
|
{{ number_format($item->qty, 0) }} | {{ number_format($item->net_unit_price, 2) }} | {{ number_format($item->discount_amount, 2) }} | {{ number_format($item->total, 2) }} |
| Sub Total: | Rs {{ number_format($sale->sub_total, 2) }} |
| Order Discount: | - Rs {{ number_format($sale->order_discount_type == 'percent' ? ($sale->sub_total * $sale->order_discount / 100) : $sale->order_discount, 2) }} |
| Order Tax: | Rs {{ number_format($sale->order_tax, 2) }} |
| Shipping: | Rs {{ number_format($sale->shipping_cost, 2) }} |
| Grand Total: | Rs {{ number_format($sale->grand_total, 2) }} |
| Paid Amount: | Rs {{ number_format($sale->paid_amount, 2) }} |
| Balance: | Rs {{ number_format($sale->paid_amount - $sale->grand_total, 2) }} |