{% extends 'adminpanel/base.html' %} {% load static %} {% block content %}
Customer Details
Edit
Customer & Loan Details
Customer Information
{{ customer.customer_name }}
{{ customer.phone_number }}
{{ customer.place }}
{{ customer.address }}
{{ masked_aadhaar }}
{{ total_loans }} {% if total_loans == 1 %}Loan{% else %}Loans{% endif %}
{{ customer.referral_name|default:"-" }}
{{ customer.referral_phone|default:"-" }}

{% for loan in loans %} {% endfor %}
S No Loan Date Chit Type Total Amount Total Due Due Amount Action
{{ forloop.counter }} {{ loan.loan_date|date:"d M Y" }} {{ loan.get_payment_type_display }} ₹{{ loan.loan_amount|floatformat:"2" }} {{ loan.number_of_dues }} ₹{{ loan.due_amount|floatformat:"2" }}
{% endblock %} {% block extra_js %} {% endblock %}