@extends('layouts.app') @section('title', 'Invoices') @section('page-title', 'Invoices') @section('content')
| Invoice No. | Guest | Booking | Total | Paid | Balance | Status | Action |
|---|---|---|---|---|---|---|---|
| {{ $invoice->invoice_number }} | {{ $invoice->booking->guest->full_name ?? '—' }} | {{ $invoice->booking->booking_reference ?? '—' }} | ₦{{ number_format($invoice->total, 2) }} | ₦{{ number_format($paid, 2) }} | ₦{{ number_format(max(0, $invoice->total - $paid), 2) }} | @if($invoice->status==='paid') Paid @elseif($invoice->status==='partial') Partial @elseif($invoice->status==='voided') Voided @else Unpaid @endif | |
No invoices found | |||||||