{% extends 'dashboard/reports/index.html' %} {% load currency_filters %} {% load i18n %} {% block report %} {% if objects %} {% for voucher in objects %} {% endfor %}
{% trans "Voucher code" %} {% trans "Added to a basket" %} {% trans "Used in an order" %} {% trans "Total discount" %}
{{ voucher.code }} {{ voucher.num_basket_additions }} {{ voucher.num_orders }} {{ voucher.total_discount|currency }}
{% if page_obj %} {% include "partials/pagination.html" %} {% endif %} {% else %}

{% trans "No vouchers were used in this period" %}

{% endif %} {% endblock %}