{% extends 'edx/base.html' %} {% load core_extras %} {% load currency_filters %} {% load i18n %} {% load offer_tags %} {% load staticfiles %} {% block title %} {% blocktrans 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 %} {% blocktrans 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 %}
{% 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.description }}

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

{% trans "Item Price:" %}
{{ line.line_price_before_discounts_incl_tax|currency:order.currency }}
{% endfor %}
{% trans "Subtotal:" %}
{{ order.total_before_discounts_incl_tax|currency:order.currency }}
{% if order.total_discount_incl_tax %} {% for voucher in order.basket.vouchers.all %}
{% trans "Coupon applied:" %}

{% blocktrans with voucher_code=voucher.code voucher_discount_amount=voucher.benefit|benefit_discount %} {{ voucher_code }} {{ voucher_discount_amount }} off {% endblocktrans %}

-{{ order.total_discount_incl_tax|currency:order.currency }}
{% endfor %} {% endif %}
{% trans "Total:" %}
{{ order.total_incl_tax|currency:order.currency }}
{% if display_credit_messaging %} {% captureas link_start %} {% endcaptureas %} {% endif %}
{% if verified_course_id and not user_verified %} {% else %} {% endif %}
{% endblock content %}