Bill To:
{{ $invoice->guest_name }}
{{ $invoice->guest_email }}
@if($invoice->guest_phone)
{{ $invoice->guest_phone }}
@endif
Booking Details:
Booking ID: {{ $invoice->booking->booking_code ?? 'N/A' }}
Check-in: {{ $invoice->check_in_date->format('d/m/Y') }}
Check-out: {{ $invoice->check_out_date->format('d/m/Y') }}
Duration: {{ $invoice->nights }} {{ $invoice->nights > 1 ? 'nights' : 'night' }}
{{ ucfirst($invoice->status ?? 'Draft') }}
Room Subtotal:
Rp {{ number_format($invoice->subtotal, 0, ',', '.') }}
@if($invoice->services_total > 0)
Services Total:
Rp {{ number_format($invoice->services_total, 0, ',', '.') }}
@endif
@if($invoice->tax_amount > 0)
Tax:
Rp {{ number_format($invoice->tax_amount, 0, ',', '.') }}
@endif
TOTAL:
Rp {{ number_format($invoice->total_amount, 0, ',', '.') }}