Hotel Management System
Digenerate pada: {{ $filterInfo['generated_at'] }}
| Status | Jumlah | Total Amount |
|---|---|---|
| {{ ucfirst($status) }} | {{ number_format($data['count']) }} | Rp {{ number_format($data['amount'], 0, ',', '.') }} |
| Channel | Jumlah Invoice | Total Amount |
|---|---|---|
| {{ $channel['name'] }} | {{ number_format($channel['count']) }} | Rp {{ number_format($channel['amount'], 0, ',', '.') }} |
| Bulan | Jumlah | Total | Terbayar | Pending | Rata-rata |
|---|---|---|---|---|---|
| {{ \Carbon\Carbon::createFromFormat('Y-m', $month)->format('F Y') }} | {{ number_format($data['total_invoices']) }} | Rp {{ number_format($data['total_amount'], 0, ',', '.') }} | Rp {{ number_format($data['paid_amount'], 0, ',', '.') }} | Rp {{ number_format($data['pending_amount'], 0, ',', '.') }} | Rp {{ number_format($data['average_amount'], 0, ',', '.') }} |
| No. Invoice | Tamu | Hotel | Sumber Booking | Kamar | Tanggal | Status | Channel Pembayaran | Tanggal Pembayaran | Total |
|---|---|---|---|---|---|---|---|---|---|
| {{ $invoice->invoice_number }} | {{ $invoice->booking->guest->name ?? 'N/A' }} | {{ $invoice->booking->room->hotel->name ?? 'N/A' }} | {{ (optional($invoice->booking)->booking_source ?? '') === '' ? 'Internal' : optional($invoice->booking)->booking_source }} | {{ $invoice->booking->room->room_number ?? 'N/A' }} | {{ $invoice->created_at->format('d/m/Y') }} | {{ ucfirst($invoice->status) }} | {{ $invoice->paymentChannel->name ?? 'N/A' }} | {{ $invoice->paid_at ? $invoice->paid_at->format('d/m/Y H:i') : '-' }} | Rp {{ number_format($invoice->total_amount, 0, ',', '.') }} |