{% extends 'base.html' %} {% load humanize %} {% block title %}Rolled Over Loans - Haven Grazuri Investment Limited{% endblock %} {% block extra_head %} {% endblock %} {% block content %}
{{ total_count }} rolled over loan{{ total_count|pluralize }} — each row shows the full picture: balance, interest added on renewal, what's still owed
| Loan / Borrower | Original Disbursement | Balance (Principal) | Interest Added | Total Owed | Amount Paid | Outstanding | Renewed On | New Loan | |
|---|---|---|---|---|---|---|---|---|---|
|
{{ entry.loan.loan_number }}
{% if entry.product %}{{ entry.product.name }}{% else %}N/A{% endif %}
{{ entry.borrower.get_full_name }}
{{ entry.borrower.phone_number }}
|
{{ entry.original_disbursement|date:"M d, Y" }} | KES {{ entry.new_principal|floatformat:0|intcomma }} | + KES {{ entry.interest_added|floatformat:0|intcomma }} |
KES {{ entry.total_owed|floatformat:0|intcomma }}
{{ entry.new_principal|floatformat:0|intcomma }} + {{ entry.interest_added|floatformat:0|intcomma }}
|
KES {{ entry.amount_paid|floatformat:0|intcomma }} | {% if entry.outstanding > 0 %} KES {{ entry.outstanding|floatformat:0|intcomma }} {% elif entry.outstanding == 0 %} Fully Paid {% else %} Overpaid {% endif %} | {{ entry.renewed_on|date:"M d, Y" }} | - | View → |
| Totals ({{ total_count }} rollover{{ total_count|pluralize }}) | KES {{ total_new_principal|default:0|floatformat:0|intcomma }} | + KES {{ total_interest|default:0|floatformat:0|intcomma }} | KES {{ total_balance|default:0|floatformat:0|intcomma }} | KES {{ total_paid|default:0|floatformat:0|intcomma }} | KES {{ total_outstanding|default:0|floatformat:0|intcomma }} | ||||