@extends('layouts.admin')
@section('title', 'Invoices')
@section('content')
@php $currency = \App\Models\Hotel::query()->value('currency') ?? 'USD'; @endphp
| # | Date | Guest | Total | Balance | Status | |
|---|---|---|---|---|---|---|
| {{ $inv->number }} | {{ $inv->invoice_date?->format('M j, Y') }} | {{ $inv->guest?->first_name }} {{ $inv->guest?->last_name }} | {{ $currency }} {{ number_format($inv->total, 2) }} | {{ $currency }} {{ number_format($inv->balance, 2) }} | View |