{% load i18n %} {% load eventurl %} {% for line in cart.positions %}
{{ line.item.name }} {% if line.variation %} – {{ line.variation }} {% endif %} {% if line.voucher %}
{% trans "Voucher code used:" %} {{ line.voucher.code }} {% 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 %} {% for q in line.questions %}
{{ q.question }}
{% if q.answer %}{{ q.answer|linebreaksbr }}{% else %}{% trans "not answered" %}{% endif %}
{% endfor %}
{% endif %}
{% if download %}
{% for b in download_buttons %} {{ b.text }} {% endfor %}
{% else %}
{% if editable %}
{% csrf_token %} {% if line.variation %} {% else %} {% endif %}
{% endif %} {{ line.count }} {% if editable %}
{% csrf_token %} {% if line.variation %} {% else %} {% endif %}
{% endif %}
{{ event.currency }} {{ line.price|floatformat:2 }}
{% endif %}
{{ event.currency }} {{ line.total|floatformat:2 }} {% if line.tax_rate %}
{% blocktrans trimmed with rate=line.tax_rate %} incl. {{ rate }}% taxes {% endblocktrans %} {% endif %}
{% if download %}
{% for b in download_buttons %} {{ b.text }} {% endfor %}
{% endif %}
{% endfor %} {% if cart.payment_fee %} {# TODO: Tax rate? #}
{% trans "Payment method fee" %}
{{ event.currency }} {{ cart.payment_fee|floatformat:2 }} {% if cart.payment_fee_tax_rate %}
{% blocktrans trimmed with rate=cart.payment_fee_tax_rate %} incl. {{ rate }}% taxes {% endblocktrans %} {% endif %}
{% endif %}
{% trans "Total" %}
{{ event.currency }} {{ cart.total|floatformat:2 }}