{% extends "pretixcontrol/organizers/base.html" %} {% load i18n %} {% load urlreplace %} {% load bootstrap3 %} {% load money %} {% block inner %}

{% trans "Issued gift cards" %}

{% if giftcards|length == 0 and not filter_form.filtered %}

{% blocktrans trimmed %} You haven't issued any gift cards yet. You can either set up a product in an event shop to sell gift cards, or you can manually issue gift cards. {% endblocktrans %}

{% trans "Manually issue a gift card" %}
{% else %}

{% trans "Filter" %}

{% bootstrap_field filter_form.query %}
{% bootstrap_field filter_form.testmode %}
{% bootstrap_field filter_form.state %}

{% trans "Manually issue a gift card" %}

{% for g in giftcards %} {% endfor %}
{% trans "Gift card code" %} {% trans "Creation date" %} {% trans "Expiry date" %} {% trans "Current value" %}
{{ g.secret }} {% if g.testmode %} {% trans "TEST MODE" %} {% endif %} {% if g.expired %} {% trans "Expired" %} {% endif %} {{ g.issuance|date:"SHORT_DATETIME_FORMAT" }} {% if g.expires %}{{ g.expires|date:"SHORT_DATETIME_FORMAT" }}{% endif %} {{ g.cached_value|money:g.currency }}
{% include "pretixcontrol/pagination.html" %} {% endif %} {% if not is_paginated or page_obj.number == 1 %}
{% csrf_token %}
{% trans "Accepted gift cards of other organizers" %}

{% blocktrans trimmed %} If you have access to multiple organizer accounts, you can configure that ticket shops in this account will also accept gift codes issued through a different organizer account, and vice versa. {% endblocktrans %}

{% endif %} {% endblock %}