{% extends "pos/base.html" %} {% load static %} {% block title %}Checkout — Booking #{{ booking.booking_code }}{% endblock %} {% block stylesheets %} {% endblock %} {% block heading %}Checkout — Booking #{{ booking.booking_code }}{% endblock %} {% block content %}
Guest: {{ booking.guest.name|default:"-" }}
Profile: {{ booking.billing_profile }}
Status: {% if booking.folio.status == "Settled" %} Settled {% else %} Open {% endif %}
Stay: {{ booking.checkin_date|date:"Y-m-d" }} → {{ stay_end_date|date:"Y-m-d" }} ({{ booking.nights }} night{{ booking.nights|pluralize }})
Include Tonight (est): Rs {{ extra_tonight|floatformat:2 }}
Advance Paid: {{ advance_paid|floatformat:0 }}
Tax%: Cash {{ tax_cash }}% | Digital {{ tax_dig }}%
Stay: {{ booking.checkin_date|date:"Y-m-d" }} → {{ booking.checkout_date|date:"Y-m-d" }} ({{ booking.nights }} night{{ booking.nights|pluralize }})
{% if is_refinalize %}
⚠️ Original Stay - Cannot be modified
{% else %}
Stay End (Preview): {{ stay_end_date|date:"Y-m-d" }}
{% endif %}
Include Tonight (est): Rs {{ extra_tonight|floatformat:2 }}
Advance Paid: {{ advance_paid|floatformat:0 }}
{% if is_refinalize and include_tonight %} {% endif %}
Folio Lines
{% for r in breakdown.all_lines %} {% empty %} {% endfor %}
DateItemQtyRate/TaxAmount
{{ r.0 }}{{ r.1 }}{{ r.2 }}{{ r.3 }} {{ r.4 }}
No folio lines.
Linked Restaurant Orders
{% for o in linked_orders %} {% empty %} {% endfor %}
Order #StatusPay TypeBankAction
#{{ o.order_no }} {{ o.status }}
{% csrf_token %}
No linked restaurant orders.
{% csrf_token %} {% if is_refinalize %} {% endif %} {% if is_refinalize %}
⚠️ Re-Finalization Mode: This will modify the existing Invoice #{{ last_checkout.invoice_no }}. Previous payments will be reversed and new ones recorded.
{% endif %}
Totals & Routing

Base (selected route):
Rs 0
Discount:
Rs 0
Tax (0%)
Rs 0
Grand:
Rs 0

Advance Paid:
Rs {{ advance_paid|floatformat:2 }}
Paid (Tenders):
Rs 0
Due / Refund:
Rs 0
Tender Split
{% endblock %} {% block javascripts %} {% endblock %}