{% extends "cms/home.html" %} {% load danceschool_tags crispy_forms_tags cms_tags i18n %} {% block title %}{% trans "Complete Your Registration" %}{% endblock %} {% block content %}
{% block summary %}

{% blocktrans with name=registration.firstName %} Hi {{ name }}! {% endblocktrans %}

{% trans "You are about to register for the following" %}:

{% for item in registration.temporaryeventregistration_set.all %} {% endfor %}
{% trans "Class/Event Name" %} {% trans "Date(s)" %} {% trans "Time" %} {% trans "Role" %} {% trans "Price" %}
{% if item.dropIn %}{% trans "DROP IN" %}: {% endif %}{{ item.event.name }} {% if item.event.eventoccurrence_set.count == 4 and not item.event.series.special %} {% blocktrans with weekday=item.event.startTime|date:"l" month=item.event.month|readable_month startTime=item.event.startTime|date:"F jS" %} {{ weekday }}s in {{ month }}, starting {{ startTime }} {% endblocktrans %} {% else %} {% for occ in item.event.eventoccurrence_set.all reversed %} {{ occ.startTime|date:"D. F jS" }}{% if not forloop.last %}, {% endif %} {% endfor %} {% endif %} {{ item.event.startTime|date:"P" }} {{ item.role.name|default:"N/A" }} {{ currencySymbol }}{{ item.price|floatformat:"-2" }}
{% if addonItems %}

{% for addon in addonItems %} {% trans "Free Add-On" %}: {{ addon.name }} {% endfor %}

{% endif %}

{% if discount_code_amount > 0 or total_voucher_amount > 0 %} {% if discount_code_name %} {% trans "Discount Code Applied" %}: {{ discount_code_name }}

{% endif %} {% if voucher_names %} {% trans "Vouchers Applied" %}: {{ voucher_names|join:", " }}

{% endif %} {% trans "Total Discounts Applied" %}: {{ currencySymbol }}{{ total_discount_amount|floatformat:"-2" }}

{% endif %}

{% trans "Total" %}: {{ currencySymbol }}{{ netPrice|floatformat:"-2" }}

{% endblock %} {% block payment_info %}

{% if is_free %} {% trans "Thanks! You're all set." %} {% else %} {% trans "In order to complete your registration you must click on the button below to make a payment." %}

{% if payAtDoor %}
{% crispy form %}
{% endif %} {% if payAtDoor %}

{% trans "Pay Directly (Requires User Login)" %}

{% endif %} {% static_placeholder "registration_payment_placeholder" %} {% if payAtDoor %}
{% endif %} {% endif %} {% endblock %} {% block disclaimer %} {% static_placeholder "registration_summary_disclaimer" %} {% endblock %}
{% endblock %}