{% extends "base.html" %} {% load static %} {% block title %}Delete Department - {{ department.name }}{% endblock %} {% block content %}
You are about to delete the department {{ department.name }}. This action cannot be undone.
Please review the impact assessment below before proceeding.
| Department Name | {{ department.name }} |
|---|---|
| Department Code | {{ department.code }} |
| Department Type | {{ department.get_department_type_display }} |
| Status | {% if department.is_active %}Active{% else %}Inactive{% endif %} |
| Created | {{ department.created_at|date:"F j, Y" }} |
{{ department.staff_count }} staff members
{{ child_departments_count }} child departments
{{ resources_count }} resources
{{ appointments_count }} appointments
This department has active dependencies. Deleting it may cause data inconsistencies.
{% else %}This department has no active dependencies and can be safely deleted.
{% endif %}Consider deactivating the department instead of deleting it. This preserves historical data while preventing new assignments.
Deactivate DepartmentTransfer staff, resources, and other dependencies to another department before deletion.
Transfer DependenciesArchive the department to preserve its data while removing it from active use.
Archive Department