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

🔄 Rolled Over Loans

{{ total_count }} rolled over loans found

These loans have been rolled over and replaced with new active loans

Clear Filters
🔄
Total Rolled Over
{{ total_count|intcomma }}
đŸ’ĩ
Total Original Amount
KES {{ total_amount|floatformat:2|intcomma }}
💰
Total Rollover Fees
KES {{ total_rollover_fees|floatformat:2|intcomma }}
â„šī¸
Status
Rolled Over
â„šī¸

About Rolled Over Loans

These loans have been rolled over and are no longer active for collections. Each rolled over loan has been replaced with a new active loan that contains the updated terms, amount, and duration.

Rolled Over Loan Details

Historical record of loans that have been rolled over

{% if loans %}
{% for loan in loans %} {% with rollover_fee=loan.application.loan_product.rollover_fee_percentage|floatformat:2 %} {% with rollover_fee_amount=loan.principal_amount|multiply:loan.application.loan_product.rollover_fee_percentage|divide:100 %} {% endwith %} {% endwith %} {% endfor %}
Original Loan Number Borrower Original Amount Rollover Date Rollover Fee New Loan Number Actions
{{ loan.loan_number }}
{{ loan.application.loan_product.name }}
👤
{{ loan.borrower.get_full_name }}
{{ loan.borrower.phone_number }}
KES {{ loan.principal_amount|floatformat:2|intcomma }}
Total: KES {{ loan.total_amount|floatformat:2|intcomma }}
{{ loan.updated_at|date:"M d, Y" }}
{{ loan.updated_at|date:"h:i A" }}
KES {{ rollover_fee_amount|floatformat:2|intcomma }}
({{ rollover_fee }}%)
{% for new_loan in loan.borrower.loans.all %} {% if new_loan.original_loan == loan %} {{ new_loan.loan_number }}
{% if new_loan.status == 'active' %} ✓ Active {% elif new_loan.status == 'paid' %} ✓ Paid {% else %} {{ new_loan.get_status_display }} {% endif %}
{% endif %} {% empty %} No new loan found {% endfor %}
View Details
{% if loans.has_other_pages %}
{% if loans.has_previous %} Previous {% endif %} {% if loans.has_next %} Next {% endif %}
{% endif %} {% else %}
🔄

No rolled over loans found

There are currently no loans that have been rolled over.

{% endif %}
{% endblock %}