{% extends 'base.html' %} {% block title %}Permanently Delete Loan - Haven Grazuri Investment Limited{% endblock %} {% block content %}
⚠️

Permanently Delete Loan

Warning: This action cannot be undone. The loan will be permanently removed from the database.

This will also permanently delete all associated repayments and receipts.

Loan Number
{{ loan.loan_number }}
Client
{{ loan.borrower.get_full_name }}
Principal Amount
KES {{ loan.principal_amount|floatformat:2 }}
Total Amount
KES {{ loan.total_amount|floatformat:2 }}
Status
{{ loan.get_status_display }}
Repayments
{{ loan.repayments.count }} payments
Deleted On
{{ loan.deleted_at|date:"F d, Y H:i" }}
{% if loan.deleted_by %}
Deleted By
{{ loan.deleted_by.get_full_name }}
{% endif %}
⚠️

This action is irreversible

Once you permanently delete this loan, all associated data will be lost forever. This includes loan details, application information, repayments, receipts, and audit logs.

{% if loan.repayments.count > 0 %}

This loan has {{ loan.repayments.count }} repayment(s) that will also be deleted.

{% endif %}
Cancel
{% csrf_token %}
{% endblock %}