{% extends 'edx/base.html' %} {% load core_extras %} {% load currency_filters %} {% load i18n %} {% load l10n %} {% load offer_tags %} {% load static %} {% load enterprise %} {% block title %} {% blocktrans trimmed with order_number=order.number %} Receipt for {{ order_number }} {% endblocktrans %} {% endblock title %} {% block javascript %} {% endblock javascript %} {% block navbar %} {% include 'edx/partials/_student_navbar.html' %} {% endblock navbar %} {% block content %}

{% trans "Thank you for your order!" %}

{% captureas link_start %} {% endcaptureas %} {% if has_enrollment_code_product %} {% blocktrans trimmed with email=order.user.email link_end="" %} Your order is complete. You will receive a confirmation message and your enrollment codes(s) at {{ link_start }}{{ email }}{{ link_end }}. If you need a receipt, you can print this page. {% endblocktrans %} {% else %} {% blocktrans trimmed with email=order.user.email link_end="" %} Your order is complete. If you need a receipt, you can print this page. You will also receive a confirmation message with this information at {{ link_start }}{{ email }}{{ link_end }}. {% endblocktrans %} {% endif %}
{% if order.billing_address %}
{% for field in order.billing_address.active_address_fields %} {{ field }}
{% endfor %}
{% endif %}
{% trans "Order Number:" %}
{{ order.number }}
{% if payment_method %}
{% trans "Payment Method:" %}
{{ payment_method }}
{% endif %}
{% trans "Order Date:" %}
{{ order.date_placed|date:"E d, Y" }}

{% trans "Order Information" %}

{% for line in order.lines.all %}
{% trans "Quantity:" %}
{{ line.quantity }}
{% trans "Description:" %}
{{ line.title }} {% if line.product.course %}

{{ line.product.course.id|course_organization }}

{% endif %}
{% trans "Item Price:" %}
{{ line.unit_price_incl_tax|currency:order.currency }}
{% endfor %}
{% trans "Subtotal" %}
{{ order.total_before_discounts_incl_tax|currency:order.currency }}
{% with discounts=order.basket_discounts %} {% if discounts %} {% for discount in discounts %}
{% trans "Discount" %} {% if discount.voucher_code %} {% with voucher=discount.voucher %} {{ voucher.code }} {% blocktrans trimmed with voucher_code=voucher.code voucher_discount_amount=voucher.benefit|benefit_discount %} {{ voucher_discount_amount }} off {% endblocktrans %} {% endwith %} {% else %} {{ discount.offer_name }} {% endif %}
-{{ discount.amount|currency:order.currency }}
{% enterprise_customer_for_voucher discount.voucher as enterprise_customer %} {% if enterprise_customer %}
{% blocktrans trimmed with enterprise_name=enterprise_customer.name %} Courtesy of {{ enterprise_name }}. {% endblocktrans %}
{% endif %}
{% endfor %} {% endif %} {% endwith %}
{% trans "Total" %}
{{ order.total_incl_tax|currency:order.currency }}
{% if display_credit_messaging %} {% captureas link_start %} {% endcaptureas %} {% endif %}
{% if not has_enrollment_code_product and show_verification_banner %} {% endif %}
{% endblock content %}