<%inherit file="shopping_cart_flow.html" /> <%block name="review_highlight">class="active" <%! from courseware.courses import course_image_url, get_course_about_section from django.core.urlresolvers import reverse from edxmako.shortcuts import marketing_link from django.utils.translation import ugettext as _ %> <%block name="custom_content">
% if shoppingcart_items: <%block name="billing_details_highlight"> % if order.order_type == 'business':
  • ${_('Billing Details')}
  • % endif <% discount_applied = False %>
    % for item, course in shoppingcart_items: % if loop.index > 0 :
    %endif
    ${course.display_number_with_default | h} ${get_course_about_section(course, 'title')} Cover Image

    ${_('Registration for:')} ${_('Course Dates:')}

    ${ course.display_name }${course.start_datetime_text()} - ${course.end_datetime_text()}


    % if item.list_price != None: <% discount_applied = True %>
    ${_('Price per student:')} ${currency_symbol}${"{0:0.2f}".format(item.list_price)}
    ${_('Discount Applied:')} ${currency_symbol}${"{0:0.2f}".format(item.unit_cost)}
    % else:
    ${_('Price per student:')} ${currency_symbol}${"{0:0.2f}".format(item.unit_cost)}
    % endif
    +
    % endfor
    % if not discount_applied:
    % else:
    ${_('code has been applied')}
    %endif ${_('Total:')} ${currency_symbol}${"{0:0.2f}".format(amount)} ${currency.upper()}
    % if amount == 0: % elif item.order.order_type == 'business':

    ${_('After this purchase is complete, a receipt is generated with relative billing details and registration codes for students.')}

    % else: ${form_html}

    ${_('After this purchase is complete,')}
    ${order.user.username} ${_('will be enrolled in this course.')}

    %endif
    % else:

    ${_('Your Shopping cart is currently empty.')}

    ${_('View Courses')}
    % endif