{% extends 'oscar/dashboard/layout.html' %} {% load currency_filters %} {% load sorting_tags %} {% load i18n %} {% block title %} {{ voucher_set.name }} | {{ block.super }} {% endblock %} {% block breadcrumbs %} {% endblock %} {% block header %}
{% trans "Code" %} | {% anchor 'num_basket_additions' _("Num baskets") %} | {% anchor 'num_orders' _("Num orders") %} | {% anchor 'date_created' _("Date created") %} | |
---|---|---|---|---|
{{ voucher.code }} | {{ voucher.num_basket_additions }} | {{ voucher.num_orders }} | {{ voucher.date_created }} | |
{% trans "No vouchers found." %} |
{% trans "Offer name" %} | {% trans "Start date" %} | {% trans "End date" %} | {% trans "Is available?" %} | {% trans "Priority" %} | {% trans "Incentive" %} | {% trans "Condition" %} | {% trans "Restrictions" %} |
---|---|---|---|---|---|---|---|
{{ offer.name }} | {{ offer.start_datetime|default:"-" }} | {{ offer.end_datetime|default:"-" }} | {% if offer.is_available %} {% trans "Yes" %} {% else %} {% trans "No" %} {% endif %} | {{ offer.priority }} | {{ offer.benefit.description|safe }} | {{ offer.condition.description|safe }} |
{% for restriction in offer.availability_restrictions %}
{% if not restriction.is_satisfied %}
{% else %}
{{ restriction.description }} {% endif %} {% endfor %} |
{% trans "No offers are attached to this voucher set." %} |