| ${view.l('Order Status')}: |
|
| ${view.l("Total payd")}: |
${viewRequest.price(row.getTotalpayd()!, null )!} |
| ${view.l("Date")}: |
${row.getCreated_at()!} |
<#assign total=0>
<#list row.getCart() as cart>
<#assign total = total+cart.getPrice()! >
|
${cart.getProduct().getTitle()!}
x ${cart.getQty()!}
<#if cart.getOptionsid()?? >
${cart.getProduct().getAttrNames(cart.getOptionsid())!}
#if>
|
${viewRequest.price(cart.getPrice()! , null )!} |
<#list cart.getProduct().getGallery() as file>
<#if file.getTypefile()!?contains("file")>
| ${file.getTitle()} |
${view.l("Download")}
,
${view.l("Downloaded")}: ${cart.getDownloaded()!} ${view.l("time")}
|
#if>
#list>
#list>
<#if cupon??>
| Subtotal |
${viewRequest.price(total, null )} |
| ${view.l('Cupon') } |
${cupon.getCupon()!} |
| ${view.l('Discount') } |
- ${viewRequest.price(view.calcDiscount(cupon, total, 'discount'), null )} |
| ${view.l('Total') }: |
${viewRequest.price(view.calcDiscount(cupon, total, 'total'), null )} |
<#assign total = view.calcDiscount(cupon, total, 'total') >
<#else>
| ${view.l("Subtotal")}: |
${viewRequest.price(total, null )} |
#if>
<#if row.getShipingTable()??>
|
${view.l("Shipping")}
( ${row.getShipingTable().getShipping_name()!} )
|
${viewRequest.price(row.getShipingTable().getPrice()!, null )!} |
#if>
| ${view.l("Payment Method")} : |
${row.getPaymentmethod()!}
|
| ${view.l("Total payd")}: |
${viewRequest.price(row.getTotalpayd()!, null )!} |
|
|
<#if user?? >
| ${view.l("User")} : |
${user.getFirstName()!} ${user.getLastName()!} , ${user.getEmail()!}
| ${view.l("View all orders")}
|
#if>
|
|
<#if (fieldsData?size>0)>
<#list fieldsData as field>
${view.splitLang(field.getValue()!)}
<#assign dataFields = view.checkoutFields(field.getValue1())!, ordersShipping = row.getShippingMap()!>
<#if field.getParam()!?contains("shipping")>
<#assign shippon ="shipping_">
<#else>
<#assign shippon ="">
#if>
<#list dataFields as key, value>
<#if ordersShipping[shippon+key]!?has_content>
| ${value.getTitleTranslated()!}: |
<#if key?contains("country")>
${countryServices.getCountryById(ordersShipping[shippon+"country"]!)!}
<#else>
${ordersShipping[shippon+key]!}
#if>
|
#if>
#list>
#list>
#if>