{% extends 'base.html' %} {% load humanize %} {% block title %}{{ title }} - HAVEN GRAZURI INVESTMENT LIMITED{% endblock %} {% block content %}
{{ total_count }} loans with outstanding balances
All loans that have remaining balances to be collected
| Borrower | Total Amount | Amount Paid | Outstanding Balance | Due Date | Days Overdue | Actions |
|---|---|---|---|---|---|---|
|
👤
{{ loan.borrower.get_full_name }}
{{ loan.borrower.phone_number }}
|
KES {{ loan.total_amount|floatformat:2|intcomma }} | KES {{ loan.amount_paid|floatformat:2|intcomma }} | KES {{ loan.outstanding_amount|floatformat:2|intcomma }} | {{ loan.due_date|date:"M d, Y" }} | {% now "Y-m-d" as today %} {% if loan.due_date|date:"Y-m-d" < today %} {% with days_overdue=today|timeuntil:loan.due_date %} {{ loan.due_date|timesince|truncatewords:1 }} overdue {% endwith %} {% else %} Current {% endif %} |
Showing {{ loans.start_index }} to {{ loans.end_index }} of {{ loans.paginator.count }} results
All loans are fully paid or have no outstanding balances.