@extends('layouts.app') @section('title', $invoice->invoice_number) @section('content') @php $statusColors = [ 'Draft' => 'secondary', 'Sent' => 'info', 'Paid' => 'success', 'Partially Paid' => 'warning', 'Overdue' => 'danger', 'Cancelled' => 'dark', ]; @endphp
| # | Product | Qty | Unit Price | GST | Line Total |
|---|---|---|---|---|---|
| {{ $idx + 1 }} |
{{ $item->product->brand_name ?? '—' }}
{{ $item->product->composition ?? '' }}
|
{{ $item->quantity }} | ₹{{ number_format($item->price, 2) }} | {{ $item->product->gst_rate ?? 0 }}% | ₹{{ number_format($item->total, 2) }} |
| Subtotal | ₹{{ number_format($invoice->subtotal, 2) }} |
| GST Total | ₹{{ number_format($invoice->tax_amount, 2) }} |
| Discount | -₹{{ number_format($invoice->discount_amount, 2) }} |
| Total | ₹{{ number_format($invoice->total_amount, 2) }} |
| Paid | ₹{{ number_format($invoice->total_paid, 2) }} |
| Balance Due | ₹{{ number_format($invoice->balance_due, 2) }} |
{{ $invoice->notes }}
{{ $invoice->terms }}
No payments recorded yet.
@else| Date | Method | Amount |
|---|---|---|
| {{ $payment->payment_date->format('d M Y') }} | {{ $payment->payment_method }} | ₹{{ number_format($payment->amount, 2) }} |