{% extends 'base.html' %} {% load humanize %} {% load utils_filters %} {% block title %}Client Report - {{ client.get_full_name }} - HAVEN GRAZURI ADVANCE{% endblock %} {% block extra_css %} {% endblock %} {% block content %}
Generated on {{ report_date|date:"F d, Y" }} at {{ report_date|time:"g:i A" }}
{% if credit_score >= 80 %}Excellent{% elif credit_score >= 60 %}Good{% else %}Needs Improvement{% endif %}
| Loan ID | Amount | Status | Disbursed | Due Date | Amount Paid | Progress |
|---|---|---|---|---|---|---|
| {{ loan.loan_number }} | KES {{ loan.principal_amount|floatformat:2|intcomma }} | {{ loan.get_status_display }} | {{ loan.disbursement_date|date:"M d, Y" }} | {{ loan.due_date|date:"M d, Y" }} | KES {{ loan.amount_paid|floatformat:2|intcomma }} |
{% with progress=loan.amount_paid|div:loan.principal_amount|mul:100 %}
{% if progress > 100 %}100{% else %}{{ progress|floatformat:0 }}{% endif %}%
{% endwith %}
|
This client has no loan history available at the moment.
{{ is_uploaded|yesno:"Uploaded,Missing" }}
{% if not is_uploaded %}Based on credit score and payment history
Consider offering premium loan products with better terms.
Standard loan terms apply. Monitor payment behavior closely.
Require additional collateral or guarantors for future loans.
Consider financial counseling or restructured payment plans.
This comprehensive client report was automatically generated on {{ report_date|date:"F d, Y" }} at {{ report_date|time:"g:i A" }}. All data is current as of the generation date and reflects the most recent client information available in our systems.