@php $currency = $hotel?->currency ?? 'USD'; @endphp

{{ $hotel?->name ?? 'HotelPlus' }}

@if($hotel?->address)
{{ $hotel->address }}
@endif @if($hotel?->phone)
{{ $hotel->phone }}
@endif
Bill To
{{ $invoice->guest?->first_name }} {{ $invoice->guest?->last_name }}
@if($invoice->guest?->email){{ $invoice->guest->email }}
@endif @if($invoice->corporateAccount){{ $invoice->corporateAccount->company_name }}
@endif
Invoice: {{ $invoice->number }}
Date: {{ $invoice->invoice_date?->format('M j, Y') }}
Due: {{ $invoice->due_date?->format('M j, Y') }}
@if($invoice->reservation)Reservation: {{ $invoice->reservation->number }}@endif
@if($invoice->discount > 0)@endif @if($invoice->tax > 0)@endif @if($invoice->service_charge > 0)@endif
DescriptionAmount
Room & services charges{{ $currency }} {{ number_format($invoice->subtotal, 2) }}
Discount- {{ $currency }} {{ number_format($invoice->discount, 2) }}
Tax{{ $currency }} {{ number_format($invoice->tax, 2) }}
Service Charge{{ $currency }} {{ number_format($invoice->service_charge, 2) }}
Subtotal{{ $currency }} {{ number_format($invoice->subtotal, 2) }}
Total{{ $currency }} {{ number_format($invoice->total, 2) }}
Paid{{ $currency }} {{ number_format($invoice->paid_amount, 2) }}
Balance Due{{ $currency }} {{ number_format($invoice->balance, 2) }}

Status: {{ ucfirst(str_replace('_',' ', $invoice->status)) }}