{% extends 'base.html' %} {% from "macros/_modals.html" import warningModal %} {% block main %}
{{ item.name }}
{{ form.hidden_tag() }}
{{ form.description() }} {{ form.description.label }}
{{ form.price() }} {{ form.price.label }}
{% if current_user.has_permission("delete_menu_item") %}

Delete Item


Items with sales history within the past 3 years cannot be deleted to maintain accounting records' integrity. Please deactivate the item instead if you wish to remove it from the menu.

{% call warningModal(url=url_for('menu.delete_item', item_id=item.id)) %}

Confirm Deletion

Are you sure you want to permanently delete this item? This action cannot be undone.

{% endcall %}
{% endif %}
{% endblock %}