{% extends 'extends/layout.html' %} {% load static %} {% block content %} {% load mathfilters %} {% load humanize %} {% load countries %} {% block scripts %} {% endblock %} {% load countries %} {% get_countries as countries %}
{% include 'includes/header.html' %}
{{ detail.member_name }}'s loan details

Loan ID: #{{ detail.id }}
Amount Requested: {{ detail.amount_requested|intcomma }}
Total Deductions: {{ totalcharges|intcomma }}
Loan Duration: {{ detail.requested_duration }} {{ detail.loan_type.get_interval_display }}
Rate Type: {{ detail.get_rate_type_display }}
Loan Type: {{ detail.loan_type.name }} {{ detail.rate }}% {{ detail.loan_type.get_formula_display|safe }}
Loan Dates: {{ detail.approved_on }} - {{ date2 }}
{% if totaladjustments == 0 %} {% else %} {% endif %}
Amount Approved: {{ principal|intcomma }}
Principal Balance {{ principalbal|intcomma }}
Amount Disbursed: {{ disbusable|intcomma }}
Total Payable: {{ totalpayable|intcomma }}
Total Paid: {{ paidamount|intcomma }}
Total loan Balance: {{ generalbalance|intcomma }} Total Adjustments : {{ totaladjustments|intcomma }}

Amortisation schedules
{% if detail.rate_type == 1 %} {% for p_date in days %} {% endfor %} {% endif %} {% if detail.rate_type == 2 %} {% for dat in data %} {% endfor %} {% endif %}
SN SCHEDULE DATE INSTALLMENT PRINCIPAL INTEREST PAID SCHEDULE BALANCE ACCUMULATED PAYMENTS PRINCIPAL BALANCE BALANCE
{{ forloop.counter }} {{ p_date.0 }} {{ p_date.8|intcomma }} {{ schedules|intcomma }} {{ interestperschedue|intcomma }} {{ p_date.2 |intcomma }} {{ p_date.3 |intcomma }} {{ p_date.4 |intcomma }} {{ p_date.7|intcomma }} {{ p_date.4 |intcomma |intcomma }}
{{ forloop.counter }} {{ dat.1 }} {{ dat.9|intcomma }} {% if dat.8 > 0 %} ({{ dat.8 }}){% endif %} {{ dat.0|intcomma }} {{ dat.3|intcomma }} {{ dat.5|intcomma }} {{ dat.6|intcomma }} {{ dat.11|intcomma }} {{ dat.10|intcomma }} {{ dat.2|intcomma }}

Served By: {{ request.user.staff.biodata.name }}

Signature & stamp

.................................................

Applicant: {{ detail.member_name }}

Signature & stamp

.................................................

Thank you for Trusting with {{ mybranch.business.name|capfirst }}.
For Inquiry About this loan Call: +{{ mybranch.business.contact }}.


Mfuko Plus - Microfinance Mgt Software

Applicant Name {{ detail.member_name }}
{% if use_shares == True and detail.loan_status == 0 %} Savings:{{ applicant_savings }} Shares:{{ member_shares }} {% endif %}
Loan number {{ detail.loan_number }}
Rate Type {{ detail.get_rate_type_display }}
Loan Type {{ detail.loan_type.name }}
Amount Requested {{ detail.amount_requested|intcomma }}
Requested Duration
{{ real_loan_details.requested_duration }} {{ detail.loan_type.get_interval_display }}
Approved Duration
{{ real_loan_details.approved_duration }} {{ detail.loan_type.get_interval_display }}
Interest generated per ?
{{ real_loan_details.loan_type.get_period }}
Interest Rate {{ detail.rate }} %
Loan officer
{% if real_loan_details.officer is None %} No officer {% else %} {{ real_loan_details.officer.biodata.name }} {% endif %}
Applied On {{ detail.requested_on }}
Repayment method {{ detail.get_repayment_method_display }}
Loan status {{ detail.get_loan_status_display }}
{% for charge in actualcharges %} {% endfor %} {% if detail.is_topup == True %} {% else %} {% endif %}
{{ charge.name }} {{ charge.amount|intcomma }}
Total Charges {{ totalcharges|floatformat:decimals|intcomma }}
Previous loan balance {{ oldbalance|intcomma }}
Total Charges {{ totalcharges|floatformat:decimals|intcomma }}
{% if totaladjustments == 0 %} {% else %}
Adjustments
{% for adjust in adjustments %} {% endfor %}
{{ adjust.tx_date }} {{ adjust.reporting_amount|intcomma }}
{% endif %}
{% if this_loan_fines %}
{% for fine in this_loan_fines %} {% endfor %}
Fines Reason
{{ fine.amount|intcomma }} {{ fine.narration }}
{% endif %}
{% if detail.loan_status > 1 %} {% if detail.loan_status < 3 %} {% endif %} {% if unpaid_fines > 0 %} {% endif %} {% if totaladjustments == 0 %} {% else %} {% endif %} {% endif %}
Amount Approved {{ principal|intcomma }}
Disbursable Amount {{ disbusable|intcomma }}
Total loan Payable {{ totalpayable|intcomma }}
Total Interest {{ totalinterest|intcomma }}
Amount paid {{ paidamount|intcomma }} ({{ percent_paid }}%)
Loan Fines {{ unpaid_fines|intcomma }}
Loan Balance {{ generalbalance|intcomma }} ({{ percent_unpaid }}%)
Total Adjustments : {{ totaladjustments|intcomma }}
Principal Balance {{ principalbal|intcomma }}
Approved On {{ detail.approved_on }}
Ending On {{ date2 }}
{% if not real_loan_details.group_guaratorship %} {% if detail.loan_status == 0 and nguarantors >= minguarantors and total_security_value >= needed_value and more_savings_required <= 0 %} {% endif %} {% else %} {% if detail.loan_status == 0 and remaining_required_security == 0 and more_savings_required <= 0 %} {% endif %} {% endif %} {% if can_access_committee_action %} {% if detail.loan_status == 1 %} {% if must_upload == 1 %} {% else %} {% endif %} {% endif %} {% endif %} {% if detail.loan_status == 0 or detail.loan_status == 1 %} {% endif %} {% if can_delete_loan and detail.loan_status >= 2 %} {% endif %} {% if can_disburse_loan_money %} {% if detail.loan_status == 2 %} {% endif %} {% endif %} {% if detail.loan_status == 3 %} {% endif %} {% if detail.loan_status == 3 and sometopup == 0 %} {% if top_up_limit > percent_paid %} TopUp {% else %} {% endif %} {% endif %} {% if detail.loan_status == 3 or detail.loan_status == 4 %} {% endif %} {% if detail.loan_status == 3 and sometopup == 1 %} View topUp application {% endif %} {% if isoverdue == True and detail.loan_status > 2 %} {# =========================================== ADJUST LOAN============================#} {% endif %} {% if isoverdue == True and detail.loan_status == 3 %} {% endif %} {% if detail.loan_status == 3 and principalbal < 1 %} {% endif %}
{#======================================DELETE LOAN======================================================================#}
{% if detail.loan_status == 3 or detail.loan_status == 4 %} {% if detail.rate_type == 1 %} {% for p_date in days %} {% if unpaid_fines > 0 and p_date.1 == 1 %} {% else %} {% endif %} {# ==================== MODAL FOR FLAT RATE ====================================================#} {% endfor %} {% endif %} {% if detail.rate_type == 2 %} {% for dat in data %} {# #} {% if unpaid_fines > 0 and dat.4 == 1 %} {% else %} {% endif %} {% endfor %} {% endif %}
SN SCHEDULE DATE INSTALLMENT PRINCIPAL INTEREST PAID SCHEDULE BALANCE PRINCIPAL BALANCE BALANCE Action
{{ forloop.counter }} {{ p_date.0 }} {{ p_date.8|floatformat:'2'|intcomma }} {{ schedules|floatformat:'2'|intcomma }}{% if p_date.6 > 0 %} ({{ p_date.6 }}){% endif %} {{ interestperschedue|floatformat:'2'|intcomma }} {{ p_date.2|floatformat:'2'|intcomma }}{{ p_date.3|add:unpaid_fines|intcomma }} ({{ unpaid_fines }}) {{ p_date.3|floatformat:'2'|intcomma }}{{ p_date.7|floatformat:'2'|intcomma }} {{ p_date.4|floatformat:'2'|intcomma }} {% if real_loan_details.loan_status == 4 %} {% else %} {% if p_date.1 == 1 %} {% endif %} {% if p_date.1 == 0 %} {% endif %} {% if p_date.1 == 2 %} {% endif %} {% endif %}
{{ forloop.counter }} {{ dat.1 }} {{ dat.9|intcomma }} {% if dat.8 > 0 %} ({{ dat.8 }}){% endif %} {{ dat.0|intcomma }} {{ dat.3|intcomma }} {{ dat.5|intcomma }}{{ dat.6|intcomma }}{{ dat.6|add:unpaid_fines |intcomma }} ({{ unpaid_fines }}) {{ dat.6|intcomma }}{{ dat.10|intcomma }} {{ dat.2|intcomma }} {% if real_loan_details.loan_status == 4 %} {% else %} {% if dat.4 == 1 %} {% endif %} {% if dat.4 == 0 %} {% endif %} {% if dat.4 == 2 %} {% endif %} {% endif %}
{% elif detail.loan_status == 7 %}

LOAN WRITTEN OFF AS A BAD DEBT

{% elif detail.loan_status == 7 %}

LOAN WRITTEN OFF AS A BAD DEBT

{% elif detail.loan_status == 8 %}

LOAN TOPPED AND CLOSED

{% elif detail.loan_status == 5 %}

LOAN APPLICATION REJECTED

{% else %}

LOAN NOT YET DISBURSED

{% endif %}
{% if detail.loan_status > 2 %} {% if 'delete_loan' in user_perms %} {% endif %} {% for repayment in repayments %} {% if repayment.receipt != 'no_receipt' %} {% else %} {% endif %} {% if 'delete_loan' in user_perms %} {% endif %} {% endfor %}
SN PAYMENT DATE PRINCIPAL PAID INTEREST PAID FINE PAID TOTAL PAID RECEIPTAction
{{ forloop.counter }} {{ repayment.date_added }} {{ repayment.principal_paid|intcomma }} {{ repayment.interest_paid|intcomma }} {{ repayment.loan_fine|intcomma }} {{ repayment.reporting_amount|intcomma }}
{% else %}

NO PAYMENTS FOUND

{% endif %}
{% if detail.loan_status == 0 %}
{% if nsecurities >= maxi_securities %} {% endif %} {% if nsecurities < maxi_securities %} {% endif %}
{% endif %}
{% if remaining_required_security == 0 %} {% if real_loan_details.loan_status < 3 %} {% endif %} {% else %} {% endif %}
{% if savings_required > applicant_savings %} {% endif %} {% if securities %} {% for security in securities %} {# =================DELETE SECURITY ==============#} {% endfor %}
SN Security Value Proof Description Action
{{ forloop.counter }} {{ security.name }} {{ security.value|intcomma }} Proof {{ security.description }}
{% if detail.loan_status == 0 %} {% else %} {% endif %}
Total Security value Required:
{{ currency.currency }} {{ needed_value|intcomma }}
Total Security value Provided:
{{ currency.currency }} {{ total_security_value|intcomma }}
{% else %}
Total Security value Required:
{{ currency.currency }} {{ needed_value|intcomma }}
{% endif %} {% if use_shares == True %}
Total Savings Required:
{{ currency.currency }} {{ savings_required|intcomma }} ({{loan_percentage_required}} Must be met)
Total Savings:
{{ currency.currency }} {{ applicant_savings|intcomma }}
Remaining security:
{{ currency.currency }} {{ remaining_required_security|intcomma }}
{% endif %}
{% if detail.loan_status == 0 and not real_loan_details.group_guaratorship %} {% endif %}
{% if not real_loan_details.group_guaratorship %} {% if guarantors %} {% for guarantor in guarantors %} {# ==============DELETE SECURITY ===========#} {% endfor %}
SN Guarantor Contact Action
{{ forloop.counter }} {{ guarantor.biodata.name }} {{ guarantor.biodata.contact }} {% if detail.loan_status == 0 %} {% else %} {% endif %}
{% else %}

At least {{ minguarantors }} Guarantors are required

{% endif %} {% else %}
{% endif %}
{% if can_access_committee_action %} {% if detail.loan_status <= 3 %}
{% endif %} {% endif %} {% for doc in docs %} {% endfor %}
SN Document Name Document Action
{{ forloop.counter }} {{ doc.file_name }} File {% if detail.loan_status == 0 or detail.loan_status == 1 or detail.loan_status == 2 %} {% else %} {% endif %}
{% endblock %}