{% extends 'base.html' %} {% load humanize %} {% block title %}Rolled Over Loans - Haven Grazuri Investment Limited{% endblock %} {% block extra_head %} {% endblock %} {% block content %}

🔄 Rolled Over Loans

{{ total_count }} rolled over loan{{ total_count|pluralize }} — each row shows the full picture: balance, interest added on renewal, what's still owed

Reset
{{ total_count|default:0|intcomma }}
Total Rolled Over Loans
KES {{ total_balance|default:0|floatformat:0|intcomma }}
Total Amount (Balance + Interest)
Sum of principal + interest for all renewed loans
KES {{ total_outstanding|default:0|floatformat:0|intcomma }}
Total Still Outstanding
What borrowers still owe after payments
{% if rollover_entries %}
{% for entry in rollover_entries %} {% endfor %}
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 }}
{% if rollover_entries.has_other_pages %}
{% if rollover_entries.has_previous %} Previous {% endif %} {% if rollover_entries.has_next %} Next {% endif %}
{% endif %}
{% else %}
🔄

No rolled over loans found.

View All Loans
{% endif %} {% endblock %}