Purchase Invoice

Invoice No: {{ $invoice->invoice_no }}

Date: {{ $invoice->invoice_date }}

Supplier: {{ $invoice->supplier->name ?? 'N/A' }}

Invoice Type: {{ $invoice->invoice_type }}

@foreach($invoice->products as $index => $product) @endforeach
# Material HSN Quantity Rate CGST SGST IGST Total
{{ $index + 1 }} {{ $product->product->name ?? 'N/A' }} {{ $product->hsn }} {{ $product->quantity }} {{ number_format($product->rate, 2) }} {{ number_format($product->cgst, 2) }} {{ number_format($product->sgst, 2) }} {{ number_format($product->igst, 2) }} {{ number_format($product->total, 2) }}

Total Amount: {{ number_format($invoice->total_amount, 2) }}

Total GST: {{ number_format($invoice->total_gst, 2) }}

Grand Total: {{ number_format($invoice->grand_total, 2) }}