{% 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.blocked %}
{% for k, block_reason in line.blocked_reasons.items %}
{{ block_reason }}
{% 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 line.valid_from or line.valid_until %}
{% if line.valid_from and line.valid_until %}
{% blocktrans trimmed with datetime_range=line.valid_from|datetimerange:line.valid_until %}
Valid {{ datetime_range }}
{% endblocktrans %}
{% elif line.valid_from %}
{% blocktrans trimmed with datetime=line.valid_from|date:"SHORT_DATETIME_FORMAT" %}
Valid from {{ datetime }}
{% endblocktrans %}
{% elif line.valid_until %}
{% blocktrans trimmed with datetime=line.valid_until|date:"SHORT_DATETIME_FORMAT" %}
Valid until {{ datetime }}
{% endblocktrans %}
{% endif %}
{% 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.ask_attendee_data 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.ask_attendee_data 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.ask_attendee_data and event.settings.attendee_company_asked %}
-
{% trans "Attendee company" %}
-
{% if line.company %}{{ line.company }}{% else %}{% trans "not answered" %}{% endif %}
{% endif %}
{% if line.item.ask_attendee_data 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 %}