{% extends "pretixcontrol/items/base.html" %} {% load i18n %} {% load bootstrap3 %} {% block title %}{% trans "Delete discount" %}{% endblock %} {% block inside %}

{% trans "Delete discount" %}

{% csrf_token %} {% if not possible and not item.active %}

{% blocktrans %}You cannot delete the discount {{ discount }} because it already has been used as part of an order.{% endblocktrans %}

{% trans "Cancel" %}
{% else %} {% if possible %}

{% blocktrans trimmed with name=discount.internal_name %} Are you sure you want to delete the discount {{ name }}? {% endblocktrans %}

{% else %}

{% blocktrans trimmed with name=discount.internal_name %} You cannot delete the discount {{ name }} because it already has been used as part of an order, but you can deactivate it. {% endblocktrans %}

{% endif %}
{% trans "Cancel" %}
{% endif %}
{% endblock %}