{% extends "pos/base.html" %} {% load static %} {% block title %}Sale Charges Summary{% endblock %} {% block stylesheets %} {% endblock %} {% block heading %}Sale Charges Summary{% endblock %} {% block content %}
| Invoice # | Date | Customer / Vendor | Type | Sub Total | Discount | Transport | Other Chgs | Tax % | Adv Tax | Grand Total |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ r.invoice_no }} | {{ r.date }} | {{ r.customer }} | {% if r.sale_type == "Cash" %}Cash {% elif r.sale_type == "Credit" %}Credit {% else %}{{ r.sale_type }}{% endif %} | {{ r.sub_total|floatformat:2 }} | {{ r.discount|floatformat:2 }} | {{ r.transport|floatformat:2 }} | {{ r.other|floatformat:2 }} | {{ r.tax_pct|floatformat:2 }}% | {{ r.tax_amount|floatformat:2 }} | {{ r.grand_total|floatformat:2 }} |
| TOTAL | {{ totals.sub_total|floatformat:2 }} | {{ totals.discount|floatformat:2 }} | {{ totals.transport|floatformat:2 }} | {{ totals.other|floatformat:2 }} | — | {{ totals.tax_amount|floatformat:2 }} | {{ totals.grand_total|floatformat:2 }} | |||
Sub Total aur Adv Tax (amount) invoice ke grand total aur stored tax % se derive kiye gaye hain (payments table sirf tax % store karta hai, amount nahi).
{% endblock %}