{% load i18n %} {% load eventurl %} {% load safelink %} {% load rich_text %} {% 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.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.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 }}{% else %}{% trans "not answered" %}{% endif %}
{% endif %} {% if line.item.admission and event.settings.attendee_addresses_asked %}
{% 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.answer %} {% if q.answer.file %} {{ q.answer.file_name }} {% 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_answers %}
{{ q.question }}
{% if q.answer %}{{ q.answer|linebreaksbr }}{% else %}{% trans "not answered" %}{% endif %}
{% endfor %}
{% endif %}
{% if download %}
{% if line.generate_ticket %} {% for b in download_buttons %}
{% csrf_token %}
{% endfor %} {% endif %}
{% 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 %}
{% 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" %}
{% blocktrans trimmed count num=cart.itemcount %} One product {% plural %} {{ num }} products {% endblocktrans %}
{{ cart.total|money:event.currency }} {% if not event.settings.display_net_prices and cart.tax_total and not editable %} {% blocktrans trimmed with tax_sum=cart.tax_total|money:event.currency %} incl. {{ tax_sum }} taxes {% endblocktrans %} {% endif %} {% if editable and vouchers_exist and not cart.all_with_voucher %}
{% trans "Redeem a voucher" %}
{% csrf_token %}
{% endif %}