{% for line in items.positions %}
{% if line.addon_to %}
+
{% else %}
#{{ line.positionid }} –
{% endif %}
{{ line.item }}
{% if line.variation %}
– {{ line.variation }}
{% endif %}
{% if line.checkins.all %}
{% for c in line.all_checkins.all %}
{% if not c.successful %}
{% elif c.type == "exit" %}
{% if c.auto_checked_in %}
{% else %}
{% endif %}
{% elif c.forced %}
{% elif c.auto_checked_in %}
{% else %}
{% endif %}
{% endfor %}
{% endif %}
{% if line.seat %}
{{ line.seat }}
{% endif %}
{% if line.voucher %}
{% trans "Voucher code used:" %}
{{ line.voucher.code }}
{% endif %}
{% if line.subevent %}
{{ line.subevent.name }} · {{ line.subevent.get_date_range_display }}
{% if event.settings.show_times %}
{{ line.subevent.date_from|date:"TIME_FORMAT" }}
{% endif %}
{% endif %}
{% if line.used_membership %}
{{ line.used_membership }}
{% endif %}
{% if line.discount %}
{{ line.discount.internal_name }}
{% endif %}
{% if not line.canceled %}
{% endif %}
{% if line.issued_gift_cards %}
{% for gc in line.issued_gift_cards.all %}
- {% trans "Gift card code" %}
- {{ gc.secret }}
{% endfor %}
{% 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 }}
{% if not line.addon_to %}
{% endif %}
{% else %}
{% trans "not answered" %}
{% endif %}
{% endif %}
{% if line.item.admission and event.settings.attendee_company_asked %}
-
{% trans "Attendee company" %}
-
{% if line.company %}{{ line.company }}{% else %}{% trans "not answered" %}{% endif %}
{% endif %}
{% if line.item.admission and event.settings.attendee_addresses_asked %}
-
{% trans "Attendee address" %}
-
{% if line.street or line.zipcode or line.city or line.country %}
{{ line.street|default_if_none:""|linebreaksbr }}
{{ line.zipcode|default_if_none:"" }} {{ line.city|default_if_none:"" }}
{{ line.country.name|default_if_none:"" }}
{% if line.state %}
{{ line.state }}{% endif %}
{% else %}
{% trans "not answered" %}
{% endif %}
{% endif %}
{% for q in line.questions %}
-
{{ q.question }}
{% if q.ask_during_checkin %}
{% endif %}
-
{% if q.answer %}
{% if q.answer.file %}
{{ q.answer.file_name }}
{% trans "UNSAFE" %}
{% if q.answer.is_image %}
{% endif %}
{% elif q.type == "M" %}
{{ q.answer|rich_text_snippet }}
{% else %}
{{ q.answer|linebreaksbr }}
{% endif %}
{% else %}
{% trans "not answered" %}
{% endif %}
{% endfor %}
{% for q in line.additional_fields %}
- {{ q.question }}
- {% if q.answer %}{{ q.answer|linebreaksbr }}{% else %}
{% trans "not answered" %}{% endif %}
{% endfor %}
{% endif %}
{% if event.settings.display_net_prices %}
{{ line.net_price|money:event.currency }}
{% if line.tax_rate %}
{% blocktrans trimmed with rate=line.tax_rate|floatformat:-2 taxname=line.tax_rule.name|default:s_taxes %}
plus {{ rate }}% {{ taxname }}
{% endblocktrans %}
{% endif %}
{% else %}
{{ line.price|money:event.currency }}
{% if line.tax_rate and line.price %}
{% blocktrans trimmed with rate=line.tax_rate|floatformat:-2 taxname=line.tax_rule.name|default:s_taxes %}
incl. {{ rate }}% {{ taxname }}
{% endblocktrans %}
{% endif %}
{% endif %}
{% endfor %}
{% for fee in items.fees %}
{{ fee.get_fee_type_display }}
{% if fee.description %}
– {{ fee.description }}
{% endif %}
{% 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 %}
{% trans "Net total" %}
{{ items.net_total|money:event.currency }}
{% trans "Taxes" %}
{{ items.tax_total|money:event.currency }}
{% trans "Total" %}
{{ items.total|money:event.currency }}
{% if order.status != "c" and order.total != payment_refund_sum %}
{% trans "Successful payments" %}
{{ payment_refund_sum|money:event.currency }}
{% trans "Pending total" %}
{{ order.pending_sum|money:event.currency }}
{% endif %}