{% load i18n %} {% load eventurl %} {% load safelink %} {% load money %} {% blocktrans asvar s_taxes %}taxes{% endblocktrans %} {% for line in cart.positions %}
{% if line.addon_to %} + {% endif %} {{ line.item.name }} {% if line.variation %} – {{ line.variation }} {% endif %} {% if line.voucher %}
{% trans "Voucher code used:" %} {{ line.voucher.code }} {% endif %} {% if line.subevent %}
{{ line.subevent.name }} · {{ line.subevent.get_date_range_display }} {% endif %} {% if line.has_questions %}
{% if line.item.admission and event.settings.attendee_names_asked %}
{% trans "Attendee name" %}
{% if line.attendee_name %}{{ line.attendee_name }}{% else %}{% trans "not answered" %}{% endif %}
{% endif %} {% if line.item.admission and event.settings.attendee_emails_asked %}
{% trans "Attendee email" %}
{% if line.attendee_email %}{{ line.attendee_email }}{% else %}{% trans "not answered" %}{% endif %}
{% endif %} {% for q in line.questions %}
{{ q.question }}
{% if q.answer %} {% if q.answer.file %} {{ q.answer.file_name }} {% else %} {{ q.answer|linebreaksbr }} {% endif %} {% else %} {% trans "not answered" %} {% endif %}
{% endfor %} {% for q in line.additional_answers %}
{{ q.question }}
{% if q.answer %}{{ q.answer|linebreaksbr }}{% else %}{% trans "not answered" %}{% endif %}
{% endfor %}
{% endif %}
{% if download and line.generate_ticket %}
{% for b in download_buttons %}
{% csrf_token %}
{% endfor %}
{% elif line.addon_to %}
 
{% if event.settings.display_net_prices %} {{ line.net_price|money:event.currency }} {% else %} {{ line.price|money:event.currency }} {% endif %}
{% else %}
{% if editable %}
{% csrf_token %}
{% endif %} {{ line.count }} {% if editable %}
{% csrf_token %} {% if line.variation %} {% else %} {% endif %}
{% endif %}
{% if event.settings.display_net_prices %} {{ line.net_price|money:event.currency }} {% else %} {{ line.price|money:event.currency }} {% endif %}
{% endif %}
{% if event.settings.display_net_prices %} {{ line.net_total|money:event.currency }} {% if line.tax_rate and line.total %}
{% blocktrans trimmed with rate=line.tax_rate|floatformat:-2 taxname=line.tax_rule.name|default:s_taxes %} plus {{ rate }}% {{ taxname }} {% endblocktrans %} {% endif %} {% else %} {{ line.total|money:event.currency }} {% if line.tax_rate and line.total %}
{% blocktrans trimmed with rate=line.tax_rate|floatformat:-2 taxname=line.tax_rule.name|default:s_taxes %} incl. {{ rate }}% {{ taxname }} {% endblocktrans %} {% endif %} {% endif %}
{% if download and line.generate_ticket %}
{% for b in download_buttons %}
{% csrf_token %}
{% endfor %}
{% endif %}
{% endfor %} {% for fee in cart.fees %}
{{ fee.get_fee_type_display }}
{% if event.settings.display_net_prices %} {{ fee.net_value|money:event.currency }} {% if fee.tax_rate %}
{% blocktrans trimmed with rate=fee.tax_rate|floatformat:-2 taxname=fee.tax_rule.name|default:s_taxes %} plus {{ rate }}% {{ taxname }} {% endblocktrans %} {% endif %} {% else %} {{ fee.value|money:event.currency }} {% if fee.tax_rate %}
{% blocktrans trimmed with rate=fee.tax_rate|floatformat:-2 taxname=fee.tax_rule.name|default:s_taxes %} incl. {{ rate }}% {{ taxname }} {% endblocktrans %} {% endif %} {% endif %}
{% endfor %} {% if event.settings.display_net_prices and cart.tax_total %}
{% trans "Net total" %}
{{ cart.net_total|money:event.currency }}
{% trans "Taxes" %}
{{ cart.tax_total|money:event.currency }}
{% endif %}
{% trans "Total" %}
{{ cart.total|money:event.currency }}