{% extends "pos/base.html" %} {% block title %}Payment Collection{% endblock %} {% block stylesheets %} {% endblock %} {% block content %}
| Customer | Deal # | Plan / Duration | Next Due | Due Date | Status | Total Pending | Action |
|---|---|---|---|---|---|---|---|
|
{{ cust.name|default:"—" }}
{% if cust.mobile %}{{ cust.mobile }}{% endif %}
|
#{{ deal.installment_no }} |
{% if deal.plan %}{{ deal.plan.plan_name }}{% else %}Custom{% endif %}
{{ deal.duration_months }} months
|
{% if slot %} Rs. {{ slot.due_amount|floatformat:0 }} {% else %} — {% endif %} |
{% if slot %}
{{ slot.due_date }}
{% if r.days_overdue > 0 %}
{{ r.days_overdue }} days overdue
{% elif r.days_until == 0 %}
Due today
{% elif r.days_until <= 5 %}
{{ r.days_until }} days left
{% else %}
{{ r.days_until }} days left
{% endif %}
{% else %}
—
{% endif %}
|
{% if slot %} {{ slot.status }} {% endif %} | Rs. {{ r.summary.total_pending|floatformat:0 }} | Collect |
No active deals found for {{ q }}.
Clear Search {% else %}All caught up! No pending installments at this time.
{% endif %}