{% extends "pos/base.html" %} {% block title %}Folio B#{{ booking.t_id }}{% endblock %} {% block heading %}Folio — Booking #{{ booking.t_id }} ({{ booking.guest.name }}){% endblock %} {% block stylesheets %} {% endblock %} {% block content %}
See Booking Restaurant Sale Room Service Sale
Subtotal
Rs {{ folio_subtotal|floatformat:2 }}
Discount
Rs {{ folio_discount|floatformat:2 }}
Net Amount
Rs {{ folio_net|floatformat:2 }}
Tax
Rs {{ folio_tax|floatformat:2 }}
Charges
Rs {{ folio_service_charges|add:folio_other_charges|floatformat:2 }}
Grand Total
Rs {{ folio_grand_total|floatformat:2 }}

Folio Ledger

Room, room service, restaurant and other charges with discount/tax snapshot.
{% for ln in lines %} {% empty %} {% endfor %}
Date Type Ref Qty Rate Gross Discount Net Tax % Tax With Tax Routed Action
{{ ln.date }} {{ ln.type_label }} {{ ln.ref_id }} {{ ln.qty|floatformat:2 }} {{ ln.unit_price|floatformat:2 }} {{ ln.gross_amount_calc|floatformat:2 }} {{ ln.discount_amount_calc|floatformat:2 }} {{ ln.net_amount_calc|floatformat:2 }} {{ ln.effective_tax_percent|floatformat:2 }} {{ ln.tax_amount_calc|floatformat:2 }} {{ ln.total_with_tax_calc|floatformat:2 }} {{ ln.routed_to }} {% if ln.item_type == "RoomService" %} View {% elif ln.item_type == "Restaurant" %} View {% else %} - {% endif %}
No folio lines yet.
Total {{ folio_subtotal|floatformat:2 }} {{ folio_discount|floatformat:2 }} {{ folio_net|floatformat:2 }} {{ folio_tax|floatformat:2 }} {{ folio_grand_total|floatformat:2 }}
{% if rs_orders %}

Room Service Orders

Linked room service orders for this booking.
Total: Rs {{ rs_total|floatformat:2 }}
{% for o in rs_orders %}
Room Service RS#{{ o.order_no }} — {{ o.created_at }} {% if o.remarks %}
Remarks: {{ o.remarks }}
{% endif %}
View Print KOT
{% for line in o.lines.all %} {% empty %} {% endfor %}
Item / Service Qty Rate Amount
{{ line.product_name }} {{ line.qty|floatformat:2 }} {{ line.unit_price|floatformat:2 }} {{ line.line_total_calc|floatformat:2 }}
No room service items found.
Subtotal {{ o.subtotal_amount|floatformat:2 }}
Tax {{ o.tax_percent|floatformat:2 }}% {{ o.tax_amount|floatformat:2 }}
Order Total {{ o.total_amount|floatformat:2 }}
{% endfor %}
{% endif %} {% if restaurant_orders %}

Restaurant Room Sales

Restaurant orders shifted or linked to room.
Total: Rs {{ restaurant_total|floatformat:2 }}
{% for o in restaurant_orders %}
Restaurant Order #{{ o.order_no }} — {{ o.created_at }}
Type: {{ o.order_type }} {% if o.status %}| Status: {{ o.status }}{% endif %} {% if o.pay_mode %}| Pay Mode: {{ o.pay_mode }}{% endif %}
{% if o.remarks %}
Remarks: {{ o.remarks }}
{% endif %}
View
{% for item in o.items.all %} {% empty %} {% endfor %} {% if o.service_charges_amount %} {% endif %} {% if o.other_charges_amount %} {% endif %} {% if o.header_discount %} {% endif %}
Item Qty Rate Discount Tax % Tax Amount
{{ item.product_name }} {{ item.qty|floatformat:2 }} {{ item.rate|floatformat:2 }} {{ item.discount_amount|floatformat:2 }} {{ item.effective_tax_percent|floatformat:2 }} {{ item.tax_amount|floatformat:2 }} {{ item.line_total|floatformat:2 }}
No restaurant items found.
Subtotal {{ o.subtotal_amount|floatformat:2 }}
Line Discount {{ o.line_discount_amount|floatformat:2 }}
Tax {{ o.tax_amount|floatformat:2 }}
Service Charges {{ o.service_charges_amount|floatformat:2 }}
Other Charges {{ o.other_charges_amount|floatformat:2 }}
Invoice Discount -{{ o.header_discount|floatformat:2 }}
Order Total {{ o.total_amount|floatformat:2 }}
{% endfor %}
{% endif %} {% endblock %}