<%= interpolate( gettext( "Thank you %(full_name)s! We have received your payment for %(course_name)s."), { course_name: "", full_name: ""}, true ) %>

<% if ( receipt ) { %>

<%- gettext( "Please print this page for your records; it serves as your receipt. You will also receive an email with the same information." ) %>

<% for ( var i = 0; i < receipt.items.length; i++ ) { %> <% if ( receipt.isRefunded ) { %> <% } else { %> <% } %> <% } %>
<%- gettext( "Order No." ) %> <%- gettext( "Description" ) %> <%- gettext( "Date" ) %> <%- gettext( "Amount" ) %>
<%- receipt.orderNum %> <%- receipt.items[i].lineDescription %> <%- receipt.purchasedDatetime %> <%- receipt.items[i].cost %> (<%- receipt.currency.toUpperCase() %>)
<%- receipt.orderNum %> <%- receipt.items[i].lineDescription %> <%- receipt.purchasedDatetime %> <%- receipt.items[i].cost %> (<%- receipt.currency.toUpperCase() %>)
<%- gettext( "Total" ) %> <%- receipt.totalCost %> (<%- receipt.currency.toUpperCase() %>)
<% if ( receipt.isRefunded ) { %>

<%- gettext( "Please Note" ) %>:

<%- gettext( "Crossed out items have been refunded." ) %>

<% } %>
<% if ( receipt.billedTo ) { %>

<%- gettext( "Billed to" ) %>: <%- receipt.billedTo.firstName %> <%- receipt.billedTo.lastName %> (<%- receipt.billedTo.city %>, <%- receipt.billedTo.state %> <%- receipt.billedTo.postalCode %> <%- receipt.billedTo.country.toUpperCase() %>)

<% } %>
<% } else { %>

<%- gettext( "No receipt available" ) %>

<% } %>