{% extends "base.html" %} {% block content %}
List Create Groups
{% if active_tab == 'create' %}
Create a new reservation from real rooms, rates, and availability rules. Use “Get pricing quote” to resolve suggested nightly rate from room/rate plan/rules before creating.
How to create a reservation
{% if quote_error %}
{{ quote_error }}
{% endif %} {% if quote %}

Pricing quote (suggested)

{% set qp = quote.pricing or {} %}{% set qt = quote.totals or {} %}{% set q = quote.quote or {} %}

Suggested nightly: {{ "%.2f"|format(q.suggested_nightly or qp.rule_resolved_nightly or qp.plan_suggested_nightly or 0) }} · Quoted nightly: {{ "%.2f"|format(q.quoted_nightly or 0) }} · Nights: {{ q.nights or (quote.inputs.nights if quote.inputs else 0) }}

Accommodation (quoted): net {{ "%.2f"|format(qt.accommodation_net or 0) }} · gross {{ "%.2f"|format(qt.accommodation_gross or 0) }}

{% if qp.applied_rules %}
Applied pricing rules ({{ qp.applied_rules|length }})
{% endif %}
Full pricing snapshot
{{ quote | tojson(indent=2) }}
{% endif %}

Create reservation

{% else %}
Search and open reservations. Use Create tab to add a new booking.
How to use Reservations
{% for r in rows %}{% else %}{% endfor %}
IDGuestRoomDatesStatusSource / SegmentPlan
#{{r['id']}}{{r['guest_name']}}{{r['room_number'] or r['room_id']}} {{r['check_in_date']}} → {{r['check_out_date']}}{{r['status']}} {{r['source']}}{% if r['source_detail'] %} ({{r['source_detail']}}){% endif %}{% if r['market_segment'] %}
{{r['market_segment']}}
{% endif %}
{{r['rate_plan_name'] or ''}}
No reservations
{% endif %} {% endblock %}