@php $doc = $document ?? null; $isInvoice = $doc && isset($doc->invoice_number); @endphp
| Subtotal | ₹ {{ number_format($doc->subtotal, 2) }} |
| Total Taxable Value | ₹ {{ number_format((float) ($isInvoice ? $doc->taxable_amount : $doc->subtotal), 2) }} |
| {{ $tax['label'] }} ({{ rtrim(rtrim(number_format($tax['rate'], 2), '0'), '.') }}%) | ₹ {{ number_format($tax['amount'], 2) }} |
| {{ $tax['name'] }} ({{ rtrim(rtrim(number_format($tax['rate'], 2), '0'), '.') }}%) | ₹ {{ number_format($tax['amount'], 2) }} |
| Excise ({{ $doc->excise_percent }}%) | ₹ {{ number_format($doc->excise_amount, 2) }} |
| {{ $docLbl['col_shipping'] ?? 'Shipping' }} | ₹ {{ number_format($doc->shipping_charges, 2) }} |
| {{ $docLbl['col_discount'] ?? 'Discount' }} on total | (-) ₹ {{ number_format($doc->discount_on_total, 2) }} |
| Advance payment | (-) ₹ {{ number_format($doc->advance_payment, 2) }} |
| Net Received | ₹ {{ number_format($doc->paid_amount, 2) }} |
| TOTAL | ₹ {{ $fmtTotal($doc->grand_total) }} |
| Balance Due | ₹ {{ number_format($amountDue, 2) }} |