@if($settings && $settings->hotel_logo) @endif
@if($settings)
{{ $settings->hotel_address }}
{{ $settings->hotel_phone }} | {{ $settings->hotel_email }}
@endif

INVOICE

# {{ $invoice->invoice_number }}
{{ $invoice->created_at->format('d F Y') }}
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') }}
@if($invoice->booking && $invoice->booking->roomServices && $invoice->booking->roomServices->count() > 0) @foreach($invoice->booking->roomServices as $service) @endforeach @endif
Description Room Nights Rate Amount
{{ $invoice->room_type }} Room {{ $invoice->room_number }} {{ $invoice->nights }} Rp {{ number_format($invoice->room_rate, 0, ',', '.') }} Rp {{ number_format($invoice->subtotal, 0, ',', '.') }}
{{ $service->service_name }} - {{ $service->quantity }} Rp {{ number_format($service->unit_price, 0, ',', '.') }} Rp {{ number_format($service->total_price, 0, ',', '.') }}
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, ',', '.') }}
@if($invoice->notes)
Special Requests / Notes:
{{ $invoice->notes }}
@endif