{% extends "pos/base.html" %} {% block title %}Down Payment Collection{% endblock %} {% block content %}

Down Payment Collection

Regular Installment Collection
{% if messages %} {% for msg in messages %}
{{ msg }}
{% endfor %} {% endif %}
{% if q %} Clear {% endif %}
{% for row in results %} {% empty %} {% endfor %}
Deal # Customer Sale Date Down Payment Due Received Remaining Status
#{{ row.deal.installment_no }} {{ row.customer.name|default:"—" }} {{ row.deal.sale_date }} Rs. {{ row.dp_slot.due_amount|floatformat:0 }} Rs. {{ row.dp_slot.paid_amount|floatformat:0 }} Rs. {{ row.remaining|floatformat:0 }} {% if row.dp_slot.status == 'PAID' %} PAID {% elif row.dp_slot.status == 'PARTIAL' %} PARTIAL {% else %} PENDING {% endif %} {% if row.dp_slot.status == 'PAID' %}View{% else %}Receive{% endif %}
{% if q %}No matching deals found.{% else %}No deals with pending down payment.{% endif %}
{% endblock %}