{% load base_filters %} {% with obj.registrant_set.all as registrants %} {% if registrants %} {% blocktrans with event_title=obj.event.title event_start_dt=obj.event.start_dt|date:'N d, Y' %}Registration(s) for: "{{ event_title }}" held on {{ event_start_dt }}{% endblocktrans %} {% for reg in registrants %} {% if reg.user %} {% endif %} {% if reg.get_name %} {{ reg.get_name }} {% else %} {% trans "Guest #" %}{{ forloop.counter0 }} {% endif %} {% if reg.email %} ({{ reg.email }}) {% endif %} {% if reg.user %} {% endif %} {% if reg.custom_reg_form_entry %} {% with reg.custom_reg_form_entry.roster_field_entry_list as roster_field_list %} {% for field in roster_field_list %} {% if field.value %}
{{ field.label }}: {{ field.value }}
{% endif %} {% endfor %} {% endwith %} {% endif %} {% with reg.pricing as price_title %} {% if price_title %}
{% trans "Registered as:" %} {{ price_title}} {% endif %} {% endwith %} {% if reg.cancel_dt %} {% trans "(Canceled)" %} {% endif %} {{ reg.amount|format_currency }} {% endfor %} {% for line in invoice.invoicelineitem_set.all %} {{ line.description }} {{ line.total|format_currency }} {% endfor %} {% endif %} {% endwith %} {% with obj.regaddon_set.all as regaddons %} {% if regaddons %} {% for regaddon in regaddons %} {{ regaddon.addon.title }} {% if regaddon.regaddonoption_set.count > 1 %} ({% for regoption in regaddon.regaddonoption_set.all %}{{ regoption.option.title }}{% if not forloop.last %},{% endif %}{% endfor %}) {% endif %} {{ regaddon.amount|format_currency }} {% endfor %} {% endif %} {% endwith %}