@extends('admin.layouts.app') @section('title','View Invoice') @section('content') @php $badgeClass = 'badge-danger'; if($invoice->payment_status == 'Paid') { $badgeClass = 'badge-success'; } elseif($invoice->payment_status == 'Partial') { $badgeClass = 'invoice-payment-partial'; } @endphp
| S.No | Service | Description | Qty | Rate | Total |
|---|---|---|---|---|---|
| {{ $key + 1 }} | {{ $item->service_name }} | {{ $item->description ?? '-' }} | {{ $item->quantity }} | ₹{{ number_format($item->unit_price, 2) }} | ₹{{ number_format($item->total, 2) }} |
| Subtotal | ₹{{ number_format($invoice->subtotal, 2) }} |
|---|---|
| Discount | ₹{{ number_format($invoice->discount, 2) }} |
| GST {{ $invoice->gst_percentage }}% | ₹{{ number_format($invoice->gst_amount, 2) }} |
| Grand Total | ₹{{ number_format($invoice->grand_total, 2) }} |