{% extends "base.html" %} {% load static %} {% block title %}Delete {{ object.item_name }} - Inventory{% endblock %} {% block content %}
You are about to permanently delete an inventory item. This action cannot be undone and may affect inventory tracking, purchase orders, and historical data.
| Item Code: | {{ object.item_code }} |
| Item Name: | {{ object.item_name }} |
| Category: |
{{ object.get_category_display }}
{% if object.subcategory %}
{{ object.subcategory }} {% endif %} |
| Item Type: | {{ object.get_item_type_display }} |
| Manufacturer: | {{ object.manufacturer|default:"Not specified" }} |
| Current Stock: | {{ object.current_stock }} {{ object.get_unit_of_measure_display }} |
| Total Value: | ${{ object.total_value|floatformat:2 }} |
| Active Status: | {{ object.is_active|yesno:'Active,Inactive' }} |
| Created: | {{ object.created_at|date:"M d, Y" }} |
| Last Updated: | {{ object.updated_at|date:"M d, Y" }} |
This item currently has {{ object.current_stock }} {{ object.get_unit_of_measure_display }} in stock with a total value of ${{ object.total_value|floatformat:2 }}.
Deleting this item will remove all stock from inventory without any transaction record.
This item is classified as a controlled substance ({{ object.get_dea_schedule_display }}).
Deletion may affect DEA compliance tracking and audit trails. Ensure proper documentation before proceeding.
Consider these alternatives instead of deletion: