{% extends 'auth/dashboard.html' %} {% load humanize %} {% block content %}

Pay Group Installment

Group: {{ contract.group.name }} • Contract #{{ contract.id }}

Back to Contract

Installment Summary

Installment #
{{ schedule.installment_number }}
Due Date
{{ schedule.due_date }}
Amount Due
KES {{ schedule.amount_due|floatformat:0|intcomma }}
Amount Paid
KES {{ schedule.amount_paid|floatformat:0|intcomma }}
Installment Progress {% with bal=schedule.balance %} {% if schedule.amount_due > 0 %} {% widthratio schedule.amount_paid schedule.amount_due 100 as pct %} {{ pct }}% {% else %} 0% {% endif %} {% endwith %}
{% if schedule.amount_due > 0 %} {% widthratio schedule.amount_paid schedule.amount_due 100 as pct %}
{% else %}
{% endif %}

M-Pesa STK Push

{% csrf_token %} {% if allow_flexible_payment %}

You can pay partially (up to the remaining balance).

{% else %} {% endif %}
{% endblock %}