| SN | Description | Quantity | Unit Price | Total |
|---|---|---|---|---|
| {{ $index + 1 }} |
{{ $item->product->name }}
Size: {{ $item->size->name }}
|
{{ $item->quantity }} |
@if($item->discount_rate > 0)
@php
$discountedPrice = $item->unit_price - ($item->unit_price * $item->discount_rate / 100);
@endphp
₹{{ number_format($item->unit_price, 2) }} ₹{{ number_format($discountedPrice, 2) }} ({{ number_format($item->discount_rate, 2) }}% off) @else ₹{{ number_format($item->unit_price, 2) }} @endif |
₹{{ number_format($item->total, 2) }} |
| Subtotal: | ₹{{ number_format($invoice->subtotal, 2) }} |
| Tax ({{ number_format($invoice->tax_rate, 2) }}%): | ₹{{ number_format($invoice->tax_amount, 2) }} |
| Discount: | -₹{{ number_format($invoice->discount, 2) }} |
| Charges: | ₹{{ number_format($invoice->charges, 2) }} |
| Shipping: | ₹{{ number_format($invoice->shipping, 2) }} |
| Round Off: | {{ $invoice->roundoff > 0 ? '+' : '' }}₹{{ number_format($invoice->roundoff, 2) }} |
| TOTAL: | ₹{{ number_format($invoice->total, 2) }} |