@extends('layouts.admin') @section('title', 'Invoices') @section('content') @php $currency = \App\Models\Hotel::query()->value('currency') ?? 'USD'; @endphp
@foreach($invoices as $inv)@endforeach
#DateGuestTotalBalanceStatus
{{ $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
{{ $invoices->links() }}
@endsection