{% load i18n %}
{% for voucher in vouchers %} {% endfor %}
{% trans "Number" %} {% trans "Type" %} {% trans "Value" %} {% trans "Start date" %} {% trans "End date" %} {% trans "Active" %} {% trans "Used" %} {% trans "Used date" %}
{% if not voucher.used %} {% endif %} {{ voucher.number }} {{ voucher.get_kind_of_display }} {{ voucher.value }} {% if voucher.start_date %} {{ voucher.start_date }} {% else %} --- {% endif %} {% if voucher.end_date %} {{ voucher.end_date }} {% else %} --- {% endif %} {{ voucher.active }} {{ voucher.used }} {{ voucher.used_date|date:_("DATE_FORMAT") }}
{% if vouchers %} {% endif %}

{% trans "Add vouchers" %}

{{ voucher_form.as_table }}