{% extends "events/base.html" %} {% load event_tags %} {% load styled_forms %} {% load base_filters %} {% block title %}{{ block.super }}{% trans "Registration Confirmation" %} {{ event.title }} {{ event.start_dt|date:"M j, Y" }}{% endblock %} {% block extra_head %} {{ block.super }} {% endblock %} {% block content %}

{% trans "Registration" %}

{% if registration.canceled %}
{% trans "Registration cancelled." %}
{% endif %} {% if registration.status == 'payment-required' %}
{% trans "Almost registered. Payment is still required." %}" {% if event.registration_configuration.can_pay_online %} {% trans "Complete registration." %} {% endif %}
{% endif %} {% if registration.status == 'registered-with-balance' %}
{% blocktrans with regbal=registration.invoice.balance|format_currency %}You are registered. Balance is {{ regbal }}. {% endblocktrans %} {% if event.registration_configuration.can_pay_online and registration.invoice.balance > 0 %} {% trans "Pay online." %} {% endif %}
{% endif %} {% if registration.status == 'registered' %}
{% trans "You are registered. Enjoy the event!" %}
{% endif %}
{% if count_registrants == 1 and registration.canceled %}
{% blocktrans with registrant.cancel_dt|date_short as cancel_dt %}Registration Canceled on {{ cancel_dt }}{% endblocktrans %}
{% endif %}

{% trans "Event Details" %}

{{ event.title }}

{% if event.description|striptags|wordcount > 50 %}
{{ event.description|striptags|truncatewords:"50"|safe }}
{{ event.description|safe }}
{% else %}
{{ event.description|safe }}
{% endif %} {% if event.description|striptags|wordcount > 50 %}
{% trans "Full Description" %}
{% endif %}

{% trans "Your Details" %}

{% trans "Registration Number: " %}{{ registration.pk }}

{% if not registration.canceled %}
{% trans "Edit Registrant(s) Info" %} {% if registrants_count >= 1 or registration.reg_conf_price.quantity > 1 %}    {% if user.is_authenticated %} {% trans "Cancel Registration" %} {% else %} {% trans "Cancel Registration" %} {% endif %} {% endif %}
{% endif %} {% if not registration.is_table %} {% if registrants_count > 1 %}
{% trans "Registrants" %} ... ({{ registrants_count }})
{% endif %} {% else %} {% if registration.reg_conf_price %} {% endif %}
{% trans "Table/Team of " %}{{ registrants_count }} {% if registration.override_table %}*{% endif %} {% if registration.invoice.discount_amount > 0 %}d{% endif %} {% with registrants|first as registrant %}{{ registrant.amount|format_currency }}{% endwith %}
({% blocktrans with title=registration.reg_conf_price.title %}Registered as {{ title }}{% endblocktrans %})
{% endif %} {% for registrant in registrants %} {% endfor %} {% if registration.has_overridden %} {% endif %} {% if registration.invoice.discount_amount > 0 %} {% endif %}
{% if registrant.name %} {{ registrant.name }} {% else %} {% trans "Guest #" %}{{ forloop.counter0 }} {% endif %} {% if not registration.is_table and registrant.pricing %} ({% blocktrans with title=registrant.pricing.title %}registered as {{ title }}{% endblocktrans %}) {% endif %} {% if registrant.cancel_dt %} {% blocktrans with registrant.cancel_dt|date_short as cancel_date %} Canceled on {{ cancel_date }}{% endblocktrans %} {% else %} {% if not registration.is_table %} {% if user.is_authenticated %} {% trans "Cancel" %} {% else %} {% trans "Cancel" %} {% endif %} {% endif %} {% endif %} {% if registrant.custom_reg_form_entry %} {% with registrant.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 %}
{% if not registration.is_table %} {% if registrant.override %}*{% endif %} {% if registrant.discount_amount > 0 %}d{% endif %} {{ registrant.amount|format_currency }} {% if registrant.use_free_pass %} {% trans {% endif %} {% endif %}
* {% trans "price overridden" %}
d {% trans "discount applied" %} (discount code: {{ registration.invoice.discount_code }})
{% trans "Addons" %} ... ({{ addons.count }})
{% for addon in addons %} {% endfor %}
{{ addon.addon.title }} ({% for option in addon.regaddonoption_set.all %}{{ option.option.title }}{% if not forloop.last %}, {% endif %}{% endfor %}) {{ addon.amount|format_currency }}
{% if registration.gratuity %}
{% trans "Gratuity:" %} {{ registration.graguity_in_percentage }}
{% endif %}

{% trans "Payment Details" %}

{% if registration.invoice.discount_amount > 0 %}
{% trans 'Discount' %} {{ registration.invoice.discount_amount|format_currency }}
{% endif %} {% if registration.invoice.tax %}
{% trans 'Subtotal' %} {{ registration.invoice.subtotal|format_currency }}
{% trans 'Tax' %} {{ registration.invoice.tax|floatformat:"2" }}
{% endif %}
{% trans 'Total' %} {{ registration.invoice.total|format_currency }}
{% trans 'Balance' %} {{ registration.invoice.balance|format_currency }}
{% endblock %} {% block extra_body %} {{ block.super }} {% endblock %}