{% extends 'oscar/dashboard/layout.html' %} {% load currency_filters %} {% load sorting_tags %} {% load i18n %} {% load widget_tweaks %} {% block title %} {% trans "Vouchers" %} | {{ block.super }} {% endblock %} {% block breadcrumbs %} {% endblock %} {% block header %}
{% trans "Name" %} | {% trans "Code" %} | {% trans "Status" %} | {% anchor 'num_offers' _("Num Offers") %} | {% anchor 'num_basket_additions' _("Num baskets") %} | {% anchor 'num_orders' _("Num orders") %} | {% anchor 'date_created' _("Date created") %} | {% if form.is_bound and form.cleaned_data.in_set is not False %}{% trans "Set" %} | {% endif %}|
---|---|---|---|---|---|---|---|---|
{{ voucher.name }} | {{ voucher.code }} | {% if voucher.is_active %} {% trans "Active" %} {% else %} {% trans "Inactive" %} {% endif %} | {{ voucher.num_offers }} | {{ voucher.num_basket_additions }} | {{ voucher.num_orders }} | {{ voucher.date_created }} | {% if form.is_bound and form.cleaned_data.in_set is not False %}{% if voucher.voucher_set.pk %} {{ voucher.voucher_set.name }} {% else %} - {% endif %} | {% endif %}{% block row_actions %} | {% endblock row_actions %}
{% trans "No vouchers found." %} |