@include('components.hospital-letterhead', [ 'documentTitle' => 'TAX INVOICE', 'documentSubtitle' => 'ORIGINAL FOR RECIPIENT & PATIENT RECORD', 'accentColor' => '#0284c7' ])

Billed To (Patient Information)

Name: {{ $invoice->patient->full_name }}
Patient ID: {{ $invoice->patient->patient_id }} | UHID: {{ $invoice->patient->uhid }}
Age / Gender: {{ $invoice->patient->age_formatted }} / {{ ucfirst($invoice->patient->gender) }}
Address: {{ $invoice->patient->address_text ?? 'Local Resident' }}
Mobile: {{ $invoice->patient->mobile }}

Invoice Details

Invoice Number: {{ $invoice->invoice_number }}
Invoice Date: {{ $invoice->invoice_date->format('d/m/Y') }}
Department / Category: {{ strtoupper($invoice->billing_type) }}
Payment Status: {{ strtoupper(str_replace('_', ' ', $invoice->payment_status)) }}
Billing Desk Operator: {{ $invoice->createdBy->name ?? 'Cashier Desk' }}
@foreach($invoice->items as $idx => $item) @endforeach
# Investigation / Clinical Service Description Category Qty Unit Rate (₹) Amount (₹)
{{ $idx + 1 }} {{ $item->item_name }} {{ str_replace('_', ' ', $item->item_category) }} {{ $item->quantity }} {{ number_format($item->unit_price, 2) }} {{ number_format($item->total_amount, 2) }}
Hospital Terms & Conditions:
1. Payment received against authorized computer-generated receipt.
2. Fees for diagnostic lab/radiology investigations and pharmacy sales are non-refundable once processed.
3. For questions regarding insurance / Ayushman Bharat settlement, please contact the Billing Counter.
@if($invoice->discount_amount > 0) @endif @if($invoice->tax_amount > 0) @endif
Subtotal: ₹{{ number_format($invoice->subtotal, 2) }}
Discount: - ₹{{ number_format($invoice->discount_amount, 2) }}
GST / Taxes: ₹{{ number_format($invoice->tax_amount, 2) }}
GRAND TOTAL: ₹{{ number_format($invoice->grand_total, 2) }}
Amount Paid: ₹{{ number_format($invoice->paid_amount, 2) }}
Balance Due: ₹{{ number_format($invoice->balance_due, 2) }}
@include('components.hospital-letterhead-footer', [ 'accentColor' => '#0284c7', 'barcodeSvg' => $barcodeSvg ?? null, 'verificationRef' => 'INV-' . strtoupper(substr(md5($invoice->invoice_number), 0, 12)), 'signatoryName' => $invoice->createdBy->name ?? 'Accounts Officer', 'signatoryDesignation' => 'Authorized Cashier & Accounts Executive' ])
Billing Desk