@(order: Order)

Line items

@if(isSet(order.getBillingAddress)) {

Billing address

@defining(order.getBillingAddress) { billingAddress => } } @if(isSet(order.getShippingAddress)) {

Shipping address

@defining(order.getShippingAddress) { shippingAddress => } }

Price detail

@if(order.getTaxedPrice != null) {
  • Item total @order.getTaxedPrice.getTotalNet
  • Shipping Not implemented yet
  • @for(taxPortion <- order.getTaxedPrice.getTaxPortions) {
  • Tax @getPercentage(taxPortion.getRate) % @taxPortion.getAmount
  • }
  • Total @order.getTaxedPrice.getTotalGross
} else { For some reason, this order doesn't have taxed price! }