{% extends "pretixcontrol/event/base.html" %} {% load i18n %} {% load bootstrap3 %} {% load urlreplace %} {% load money %} {% block title %}{% trans "DB VAT eCoupons" %}{% endblock %} {% block content %}

{% trans "DB VAT eCoupons" %}

{% if not any_product_issuing %}
{% blocktrans trimmed %} Not a single product is set up to issue DB Event Discount eCoupons. In order for this plugin to work, you will need to activate the "Issue DB VAT eCoupons if this product is purchased" checkbox on the "Additional settings" tab of at least on product. {% endblocktrans %}
{% endif %}
{% if event.settings.dbvat_source == "list" %}
{% trans "eCoupons" %} {% if coupons|length == 0 %}

{% blocktrans trimmed %} You haven't imported any eCoupon codes yet. {% endblocktrans %}

{% trans "Import new eCoupons" %}
{% else %}

{% blocktrans trimmed %} {{ count }} eCoupon codes are currently available to be used. {% endblocktrans %}

{% trans "Import new eCoupons" %}

{% csrf_token %}
{% if request.event.has_subevents %} {% endif %} {% for s in coupons %} {% if request.event.has_subevents %} {% endif %} {% endfor %}
{% trans "eCoupon code" %} {% trans "Valid from" %} {% trans "Valid until" %} {% trans "Used by ticket" %} {% trans "Date" context "subevent" %}
{% if s.used %} {% else %}{% endif %} {{ s.secret }} {% if s.used %}{% else %}{% endif %} {{ s.valid_from }} {{ s.valid_to }} {% if s.used_by %} {{ s.used_by.order.code }}-{{ s.used_by.positionid }} {% endif %} {{ v.subevent.name }} – {{ v.subevent.get_date_range_display }} {% if request.event.settings.show_times %} {{ v.subevent.date_from|date:"TIME_FORMAT" }} {% endif %}
{% include "pretixcontrol/pagination.html" %} {% endif %}
{% endif %}
{% trans "Settings" %}
{% blocktrans trimmed %} The DB Event Discount is a pilot program, available to select events. Please contact the DB Event Team learn more about participation eligibility and alternatives such as the DB Event Ticket. {% endblocktrans %}

{% blocktrans trimmed %} By cooperating with Deutsche Bahn (DB), you can make your events more sustainable and offer your attendees at the same time a significant discount on their long distance train travel. {% endblocktrans %}

{% blocktrans trimmed %} Every attendee is assigned two eCoupons - free of charge - which they can then redeem either on bahn.de or within the mobile DB navigator apps. Each of the coupons grants the user a predetermined discount on all long distance tickets - no matter if SuperSpar-, Spar- or Flexpreis-tickets. {% endblocktrans %}

{% blocktrans trimmed with dbvatdiscount="https://bahn.de/veranstaltungsrabatt" dbvatcontact="https://www.bahn.de/bahnbusiness/angebot/veranstaltungen/veranstaltungsticket/formular" %} To get started, please visit {{ dbvatdiscount }} for more information and contact the DB Event Team to request your participation. Please make sure to explicitly mention the Event Discount ("Veranstaltungsrabatt") and pretix in your message. {% endblocktrans %}

{% blocktrans trimmed %} Please remember, that you'll need to mark products that are eligible to receive eCoupons explicitly by activating the corresponding checkbox within the product's "Additional Settings"-tab. {% endblocktrans %}

{% bootstrap_form_errors form %} {% csrf_token %} {% bootstrap_form form layout="horizontal" %}
{% endblock %}