{% extends "pos/base.html" %} {% block title %}Daily Installment Reminder{% endblock %} {% block stylesheets %} {% endblock %} {% block content %}

Daily Installment Reminder

Report Date: {{ report_date }}
{{ summary.overdue_count }}
Overdue Installments
Rs. {{ summary.total_overdue_amount|floatformat:0 }}
{{ summary.due_today_count }}
Due Today
Rs. {{ summary.total_due_today|floatformat:0 }}
{{ summary.due_week_count }}
Due This Week
Rs. {{ summary.total_due_week|floatformat:0 }}
{% if overdue %}
🔴 OVERDUE — {{ overdue|length }} customers Total: Rs. {{ summary.total_overdue_amount|floatformat:0 }}
{% for row in overdue %} {% endfor %}
Deal # Customer Installment # Due Date Days Late Overdue Amount Action
#{{ row.deal.installment_no }} {{ row.customer_name }} {{ row.slot.installment_number }} {{ row.slot.due_date }} {{ row.days_late }} days Rs. {{ row.remaining|floatformat:0 }} Receive
{% endif %} {% if due_today %}
🟡 DUE TODAY — {{ due_today|length }} customers Total: Rs. {{ summary.total_due_today|floatformat:0 }}
{% for row in due_today %} {% endfor %}
Deal # Customer Installment # Due Amount Action
#{{ row.deal.installment_no }} {{ row.customer_name }} {{ row.slot.installment_number }} Rs. {{ row.remaining|floatformat:0 }} Receive
{% endif %} {% if due_week %}
🟢 DUE THIS WEEK — {{ due_week|length }} upcoming Total: Rs. {{ summary.total_due_week|floatformat:0 }}
{% for row in due_week %} {% endfor %}
Deal # Customer Installment # Due Date Days Until Due Amount Action
#{{ row.deal.installment_no }} {{ row.customer_name }} {{ row.slot.installment_number }} {{ row.slot.due_date }} {{ row.days_until }} day(s) Rs. {{ row.remaining|floatformat:0 }} Receive
{% endif %} {% if not overdue and not due_today and not due_week %}
All clear! No overdue or upcoming installments for today.
{% endif %}
{% endblock %}