{% extends "base.html" %}
{% block content %}
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 }}
| Reservation | Guest | Room | Status | Balance | Issues |
{% for r in ops.exceptions or [] %}
| #{{ 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 %} |
{% else %}
| No front-desk exceptions for this date. |
{% endfor %}
| ID | Guest | Room / HK | Status | Balance | Notes |
{% for r in arrivals %}
| #{{ 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 %} |
{% else %}| No arrivals for this date. |
{% endfor %}
| ID | Guest | Room / HK | Status | Balance | Notes |
{% for r in departures %}
| #{{ 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 %} |
{% else %}| No departures for this date. |
{% endfor %}
| ID | Guest | Room / HK | Dates | Status | Balance | Notes |
{% for r in in_house %}
| #{{ 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 %} |
{% else %}| No in-house guests for this date. |
{% endfor %}
Net profit: {{ '%.2f'|format(ledger.net_profit or 0) }} · Accounts receivable: {{ '%.2f'|format(ledger.accounts_receivable or 0) }}
{% endblock %}