LAPORAN PENDAPATAN HOTEL

Periode: {{ $summary['period'] }}

Dicetak pada: {{ \Carbon\Carbon::now()->format('d M Y H:i') }}

@if($status !== 'all')

Status: {{ ucfirst($status) }}

@endif
RINGKASAN PENDAPATAN

Rp {{ number_format($summary['total_revenue'], 0, ',', '.') }}

Total Pendapatan

{{ $summary['total_invoices'] }}

Total Invoice

Rp {{ number_format($summary['average_invoice_value'], 0, ',', '.') }}

Rata-rata per Invoice

Rp {{ number_format($summary['total_tax'], 0, ',', '.') }}

Total Pajak

RINCIAN PENDAPATAN
Pendapatan Kamar Rp {{ number_format($summary['total_room_revenue'], 0, ',', '.') }}
Pendapatan Layanan Rp {{ number_format($summary['total_service_revenue'], 0, ',', '.') }}
Diskon - Rp {{ number_format($summary['total_discount'], 0, ',', '.') }}
Pajak (PPN) Rp {{ number_format($summary['total_tax'], 0, ',', '.') }}
Total Pendapatan Rp {{ number_format($summary['total_revenue'], 0, ',', '.') }}
STATUS PEMBAYARAN
Lunas Rp {{ number_format($summary['paid_amount'], 0, ',', '.') }}
Pending Rp {{ number_format($summary['pending_amount'], 0, ',', '.') }}
Jatuh Tempo Rp {{ number_format($summary['overdue_amount'], 0, ',', '.') }}
Total Rp {{ number_format($summary['total_revenue'], 0, ',', '.') }}
@if($revenueByRoomType->count() > 0)
PENDAPATAN PER TIPE KAMAR
@foreach($revenueByRoomType as $roomType) @endforeach
Tipe Kamar Jumlah Booking Total Pendapatan Rata-rata per Booking Persentase
{{ $roomType->room_type }} {{ $roomType->booking_count }} Rp {{ number_format($roomType->total_revenue, 0, ',', '.') }} Rp {{ number_format($roomType->avg_revenue, 0, ',', '.') }} {{ number_format(($summary['total_room_revenue'] > 0 ? ($roomType->total_revenue / $summary['total_room_revenue']) * 100 : 0), 1) }}%
@endif
DETAIL INVOICE
@foreach($invoices as $index => $invoice) @endforeach
No No. Invoice Tanggal Tamu Check-in Check-out Kamar Layanan Diskon Pajak Total Status
{{ $index + 1 }} {{ $invoice->invoice_number }} {{ \Carbon\Carbon::parse($invoice->invoice_date)->format('d/m/Y') }} {{ $invoice->booking->guest->name ?? '-' }} {{ $invoice->booking->check_in_date ? \Carbon\Carbon::parse($invoice->booking->check_in_date)->format('d/m/Y') : '-' }} {{ $invoice->booking->check_out_date ? \Carbon\Carbon::parse($invoice->booking->check_out_date)->format('d/m/Y') : '-' }} {{ number_format($invoice->room_total, 0, ',', '.') }} {{ number_format($invoice->services_total, 0, ',', '.') }} {{ number_format($invoice->discount_amount, 0, ',', '.') }} {{ number_format($invoice->tax_amount, 0, ',', '.') }} {{ number_format($invoice->grand_total, 0, ',', '.') }} @switch($invoice->status) @case('paid') Lunas @break @case('pending') Pending @break @case('cancelled') Dibatalkan @break @case('overdue') Jatuh Tempo @break @default {{ ucfirst($invoice->status) }} @endswitch
TOTAL: {{ number_format($invoices->sum('room_total'), 0, ',', '.') }} {{ number_format($invoices->sum('services_total'), 0, ',', '.') }} {{ number_format($invoices->sum('discount_amount'), 0, ',', '.') }} {{ number_format($invoices->sum('tax_amount'), 0, ',', '.') }} {{ number_format($invoices->sum('grand_total'), 0, ',', '.') }}