{% extends 'base.html' %} {% load indonesian_filters %} {% block title %}Delete Customer - {{ customer.name }}{% endblock %} {% block content %}

Delete Customer

Cancel
Confirm Customer Deletion
⚠️ Warning: This action cannot be undone!

You are about to permanently delete the customer and all associated data.

Customer Information:
Code: {{ customer.code }}
Name: {{ customer.name }}
Contact Person: {{ customer.contact_person|default:"-" }}
Email: {{ customer.email|default:"-" }}
Status: {% if customer.is_active %} Active {% else %} Inactive {% endif %}
Data Impact:

Sales Orders: {{ customer_order_count }} orders will be affected

Total Value: {{ customer_total_value|format_rupiah }} in orders

Related Records: All associated data will be deleted

What happens when you delete this customer:

  • The customer record will be permanently removed from the database
  • All associated sales orders will remain but may lose customer reference
  • Historical data will be preserved where possible
  • This action cannot be reversed
Alternative Actions

Instead of deleting, consider these alternatives:

{% endblock %}