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

Delete Supplier

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

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

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

Purchase Orders: {{ supplier_order_count }} orders will be affected

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

Related Records: All associated data will be deleted

{% if supplier.address %}
Address:

{{ supplier.address|linebreaks }}

{% endif %} {% if supplier.payment_terms %}
Payment Terms:

{{ supplier.payment_terms|linebreaks }}

{% endif %}

What happens when you delete this supplier:

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

Instead of deleting, consider these alternatives:

{% endblock %}