%namespace name='static' file='/static_content.html'/> <%inherit file="shopping_cart_flow.html" /> <%! from django.utils.translation import ugettext as _ from django.utils.translation import ungettext from django.core.urlresolvers import reverse from markupsafe import escape from openedx.core.lib.courses import course_image_url %> <%block name="billing_details_highlight"> % if order_type == 'business':
${_("Course Name")} | ${_("Enrollment Code")} | ${_("Enrollment Link")} | ${_("Status")} | % for reg_code_info in reg_code_info_list:|
---|---|---|---|---|
${reg_code_info['course_name']} | ${reg_code_info['code']} | % if reg_code_info['is_redeemed']:${reg_code_info['redemption_url']} | % else:${reg_code_info['redemption_url']} | % endif% if reg_code_info['is_redeemed']: ${_("Used")} % elif not reg_code_info['is_valid']: ${_("Invalid")} % else: ${_("Available")} % endif |
${_('Company Name')}: % if order.company_name: ${order.company_name} % else: ${_('N/A')} % endif
${_('Purchase Order Number')}: % if order.customer_reference_number: ${order.customer_reference_number} % else: ${_('N/A')} % endif
${_('Company Contact Name')}: % if order.company_contact_name: ${order.company_contact_name} % else: ${_('N/A')} % endif
${_('Company Contact Email')}: % if order.company_contact_email: ${order.company_contact_email} % else: ${_('N/A')} % endif
${_('Recipient Name')}: % if order.recipient_name: ${order.recipient_name} % else: ${_('N/A')} % endif
${_('Recipient Email')}: % if order.recipient_email: ${order.recipient_email} % else: ${_('N/A')} % endif
${_('Card Type')}: % if order.bill_to_cardtype: ${order.bill_to_cardtype} % else: ${_('N/A')} % endif
${_('Credit Card Number')}: % if order.bill_to_ccnum: ${order.bill_to_ccnum} % else: ${_('N/A')} % endif
${_('Name')}: % if order.bill_to_first or order.bill_to_last: ${order.bill_to_first} ${order.bill_to_last} % else: ${_('N/A')} % endif
${_('Address 1')}: % if order.bill_to_street1: ${order.bill_to_street1} % else: ${_('N/A')} % endif
${_('Address 2')}: % if order.bill_to_street2: ${order.bill_to_street2} % else: ${_('N/A')} % endif
${_('City')}: % if order.bill_to_city: ${order.bill_to_city} % else: ${_('N/A')} % endif
${_('State')}: % if order.bill_to_state: ${order.bill_to_state} % else: ${_('N/A')} % endif
${_('Country')}: % if order.bill_to_country: ${order.bill_to_country} % else: ${_('N/A')} % endif