{% extends "base.html" %} {% block content %}
OverviewReports
Live snapshot from front desk and ledger data for {{ ops.date }}. Exceptions highlight unpaid balances, dirty/maintenance rooms, and due arrivals/departures not checked in/out.
Occupancy
{{ '%.1f'|format(front.occupancy_pct or 0) }}%
{{ front.occupied or 0 }}/{{ front.total or 0 }} rooms
Arrivals
{{ ops.counts.arrivals if ops and ops.counts else (front.arrivals_today or 0) }}
Departures
{{ ops.counts.departures if ops and ops.counts else (front.departures_today or 0) }}
Exceptions
{{ ops.counts.exceptions if ops and ops.counts else 0 }}
Unpaid {{ ops.counts.unpaid if ops and ops.counts else 0 }} · Dirty/Maint {{ ops.counts.dirty_rooms if ops and ops.counts else 0 }}

Front-desk exceptions

{% for r in ops.exceptions or [] %} {% else %} {% endfor %}
ReservationGuestRoomStatusBalanceIssues
#{{ r.id }} {{ r.guest_name }} {{ r.room_number or '-' }} {% if r.housekeeping_status %}{{ r.housekeeping_status }}{% endif %} {{ r.status }} {% if r.balance_due and r.balance_due > 0 %}{{ '%.2f'|format(r.balance_due) }}{% else %}0.00{% endif %} {% for ex in r.exceptions or [] %}{{ ex }} {% else %}-{% endfor %}
No front-desk exceptions for this date.

Arrivals ({{ ops.counts.arrivals if ops and ops.counts else arrivals|length }})

{% for r in arrivals %}{% else %}{% endfor %}
IDGuestRoom / HKStatusBalanceNotes
#{{ r.id }} {{ r.guest_name }} {{ r.room_number or '-' }} {% if r.housekeeping_status %}{{ r.housekeeping_status }}{% endif %} {{ r.status }} {% if r.balance_due and r.balance_due > 0 %}{{ '%.2f'|format(r.balance_due) }}{% else %}0.00{% endif %} {% if r.not_checked_in %}Not checked in{% endif %} {% for ex in r.exceptions or [] %}{% if ex != 'Not checked in' %}{{ ex }}{% endif %}{% endfor %}
No arrivals for this date.

Departures ({{ ops.counts.departures if ops and ops.counts else departures|length }})

{% for r in departures %}{% else %}{% endfor %}
IDGuestRoom / HKStatusBalanceNotes
#{{ r.id }} {{ r.guest_name }} {{ r.room_number or '-' }} {% if r.housekeeping_status %}{{ r.housekeeping_status }}{% endif %} {{ r.status }} {% if r.balance_due and r.balance_due > 0 %}{{ '%.2f'|format(r.balance_due) }}{% else %}0.00{% endif %} {% if r.not_checked_out %}Not checked out{% endif %} {% for ex in r.exceptions or [] %}{% if ex != 'Not checked out' %}{{ ex }}{% endif %}{% endfor %}
No departures for this date.

In-house / Stayovers ({{ ops.counts.in_house if ops and ops.counts else in_house|length }})

{% for r in in_house %}{% else %}{% endfor %}
IDGuestRoom / HKDatesStatusBalanceNotes
#{{ r.id }} {{ r.guest_name }} {{ r.room_number or '-' }} {% if r.housekeeping_status %}{{ r.housekeeping_status }}{% endif %} {{ r.check_in or r.check_in_date }} → {{ r.check_out or r.check_out_date }} {{ r.status }} {% if r.balance_due and r.balance_due > 0 %}{{ '%.2f'|format(r.balance_due) }}{% else %}0.00{% endif %} {% if r.stayover %}Stayover{% endif %} {% for ex in r.exceptions or [] %}{{ ex }}{% endfor %}
No in-house guests for this date.

Financial snapshot

Net profit: {{ '%.2f'|format(ledger.net_profit or 0) }} · Accounts receivable: {{ '%.2f'|format(ledger.accounts_receivable or 0) }}
{% endblock %}