{% extends 'extends/layout.html' %} {% load static %} {% block content %} {% load humanize %}
{% csrf_token %}
{% if show_business_filters %}
{% endif %}
From:
To:
{% if start_date_str is not None or end_date_str is not None %}
Results {% if start_date_str %} From {{start_date_str}} {% endif %} {% if end_date_str %} up to {{end_date_str}} {% endif %} {% if officer_name %} for {{officer_name}} {% endif %}
{% endif %}
Total Amount Disbursed

{{ total_amt|intcomma }}

Total loans given

{{ total_count }}

{% if show_business_filters %} {% endif %} {% for loanapp in all_loans %} {% if show_business_filters %} {% endif %} {% endfor %}
SN Member Contact Amount approved Duration Schedule start Officer StatusBranchAction
{{ forloop.counter }}. {{ loanapp.applicant.biodata.name }} {{ loanapp.applicant.biodata.contact| default_if_none:"N/A" }} {{ loanapp.amount_approved|intcomma }} {{ loanapp.approved_duration }} {{loanapp.interval_display}} {{ loanapp.schedule_start }} {{ loanapp.officer.biodata.name }} {{ loanapp.get_loan_status_display }}{{ loanapp.branch.name }} Details
{% if all_loans.has_other_pages %}

Page {{ all_loans.number }} of {{ all_loans.paginator.num_pages }}

{% endif %}
{% endblock %}