{% extends "pos/base.html" %} {% load static %} {% block title %}Discount Report{% endblock %} {% block heading %}Discount Report{% endblock %} {% block stylesheets %} {% endblock %} {% block content %}
Discount Report
{{ start|date:"Y-m-d" }} → {{ end|date:"Y-m-d" }}
Total Amount
Rs {{ report.total_amount|floatformat:0 }}
Before discount
Total Discount
Rs {{ report.total_discount|floatformat:0 }}
{{ report.total_count }} discount entries
Net Total
Rs {{ report.total_net|floatformat:0 }}
After discount
Source Summary
Simple discount summary
{% for r in source_rows %} {% empty %} {% endfor %}
Source Entries Total Amount Discount Net Total
{{ r.source_label }} {{ r.count }} Rs {{ r.total_amount|floatformat:0 }} Rs {{ r.discount|floatformat:0 }} Rs {{ r.net_amount|floatformat:0 }}
No discount summary found.
Total {{ report.total_count }} Rs {{ report.total_amount|floatformat:0 }} Rs {{ report.total_discount|floatformat:0 }} Rs {{ report.total_net|floatformat:0 }}
Discount Detail
Simple discount detail without tax
{% for r in rows %} {% empty %} {% endfor %}
Ref Date Source Guest Rooms Total Amount Discount Net Total
{% if r.source == "RESTAURANT" and r.restaurant_order_no %} Restaurant order #{{ r.restaurant_order_no }} {% elif r.source == "ROOM" and r.booking_tid %} Booking #{{ r.booking_tid }} {% else %} - {% endif %} {{ r.date|date:"Y-m-d" }} {{ r.source_label }} {{ r.guest_name|default:"-" }} {% if r.guest_contact %}
{{ r.guest_contact }} {% endif %}
{{ r.rooms }} Rs {{ r.total_amount|floatformat:0 }} Rs {{ r.discount|floatformat:0 }} Rs {{ r.net_amount|floatformat:0 }}
No discount found in selected period.
Total Rs {{ report.total_amount|floatformat:0 }} Rs {{ report.total_discount|floatformat:0 }} Rs {{ report.total_net|floatformat:0 }}
{% endblock %}