{% extends 'base.html' %} {% load humanize %} {% load utils_filters %} {% block title %}Approve Loan Application - Haven Grazuri Investment Limited{% endblock %} {% block content %}
This client is currently marked as {{ application.borrower.get_status_display }}. {% if application.borrower.status == 'blacklisted' %} Blacklisted clients cannot receive loan approvals. {% elif application.borrower.status == 'suspended' %} Suspended clients cannot receive loan approvals. {% elif application.borrower.status == 'inactive' %} Inactive clients cannot receive loan approvals. {% endif %}
Application #{{ application.application_number }}
{{ document.filename }}
{{ document.file.size|filesizeformat }}
No supporting documents provided
{% endif %}| Loan Number | Amount | Disbursed | Total Repaid | Outstanding | Status | Repayment |
|---|---|---|---|---|---|---|
| {{ loan.loan_number }} | KES {{ loan.principal_amount|floatformat:2|intcomma }} | {{ loan.disbursement_date|date:"Y-m-d" }} | KES {{ loan.amount_paid|floatformat:2|intcomma }} | KES {{ loan.outstanding_amount|floatformat:2|intcomma }} | {% if loan.status == 'active' %} Active {% elif loan.status == 'paid' %} Paid {% elif loan.status == 'defaulted' %} Defaulted {% else %} {{ loan.status|title }} {% endif %} | {% if loan.status == 'paid' %} 100% {% elif loan.status == 'active' %} {{ loan.repayment_percentage|default:"0" }}% {% elif loan.status == 'defaulted' %} {{ loan.repayment_percentage|default:"0" }}% {% else %} {{ loan.repayment_percentage|default:"0" }}% {% endif %} |
No previous loan history
This will be the borrower's first loan