{% extends 'base.html' %} {% block title %}Confirm Delete Client - HAVEN GRAZURI ADVANCE{% endblock %} {% block content %}
⚠️

Client Action Options

Choose an action for {{ client.get_full_name }}:

Client Details

Name: {{ client.get_full_name }}

Email: {{ client.email }}

Phone: {{ client.phone_number }}

Status: {{ client.get_status_display }}

{% if dependencies %}

ℹ️ Related Data Summary

{% if dependencies.loans %}

Loans: {{ dependencies.loans }}

{% endif %} {% if dependencies.applications %}

Applications: {{ dependencies.applications }}

{% endif %} {% if dependencies.repayments %}

Repayments: {{ dependencies.repayments }}

{% endif %} {% if dependencies.offers %}

Loan Offers: {{ dependencies.offers }}

{% endif %} {% if dependencies.receipts %}

Receipts: {{ dependencies.receipts }}

{% endif %} {% if dependencies.statements %}

Statements: {{ dependencies.statements }}

{% endif %} {% if dependencies.documents %}

Documents: {{ dependencies.documents }}

{% endif %} {% if dependencies.notifications %}

Notifications: {{ dependencies.notifications }}

{% endif %} {% if dependencies.rollover_requests %}

Rollover Requests: {{ dependencies.rollover_requests }}

{% endif %} {% if dependencies.scoring_records %}

Credit Records: {{ dependencies.scoring_records }}

{% endif %} {% if dependencies.audit_logs %}

Audit Logs: {{ dependencies.audit_logs }}

{% endif %}

Total Related Records: {{ dependencies.total }}

{% endif %} {% if error %}

⚠️ Error

{{ error }}

{% endif %}

Blacklist Client

Mark the client as blacklisted. They will no longer be able to access the system, but their data will be preserved for audit purposes. This is the recommended option for most cases.

{% csrf_token %}

Permanently Delete Client

⚠️ WARNING: This action will permanently delete the client and all their associated data ({{ dependencies.total|default:"unknown number of" }} related records). This action cannot be undone and may take a few moments to complete.

{% csrf_token %}
{% endblock %}