@extends('layouts.print') @section('title', 'Occupancy Report — ' . \Carbon\Carbon::parse($from)->format('M j') . '–' . \Carbon\Carbon::parse($to)->format('M j, Y')) @section('content') @php $periodLabel = \Carbon\Carbon::parse($from)->format('M j') . ' – ' . \Carbon\Carbon::parse($to)->format('M j, Y'); $propName = \App\Models\Setting::get('property_name', config('app.name', 'Parkview Hotel')); @endphp
{{ $label }}
{{ $value }}
{{ $sub }}
No data for this period.
@else| Date | Occupied | Occ % | Revenue | ADR | RevPAR |
|---|---|---|---|---|---|
| {{ $row['date']->format('D, M j') }} | {{ $row['occupied'] }} / {{ $totalRooms }} | {{ number_format($row['occ_pct'], 1) }}% | {{ $row['revenue'] > 0 ? '₱' . number_format($row['revenue'], 2) : '—' }} | {{ $row['adr'] > 0 ? '₱' . number_format($row['adr'], 2) : '—' }} | {{ $row['revpar'] > 0 ? '₱' . number_format($row['revpar'], 2) : '—' }} |
| Period Total / Avg | {{ $totalOccupiedNights }} nts | {{ number_format($avgOcc, 1) }}% | ₱{{ number_format($totalRevenue, 2) }} | ₱{{ number_format($avgAdr, 2) }} | ₱{{ number_format($avgRevpar, 2) }} |