@inherits RazorTemplateBase> @using Dynamicweb @using Dynamicweb.Ecommerce.Prices @using Dynamicweb.Ecommerce.Products; @using Dynamicweb.Rendering;

@Translate("Order") #@GetString("ID")

@{ var listLoop = GetLoop("OrderLinesLoop"); if (listLoop.Count == 0) {

@Translate("No items found")

} else { @foreach (LoopItem orderLine in listLoop) { }
@Translate("Quantity", "Quantity") @Translate("Item number", "Item number") @Translate("Unit price", "Unit price") @Translate("Total price", "Total price")
@orderLine.GetString("Quantity") @orderLine.GetString("ProductNumber") @(new PriceInfo { PriceWithoutVAT = orderLine.GetInteger("UnitPriceWithoutVAT") }.PriceWithoutVATFormatted) @(new PriceInfo { PriceWithoutVAT = orderLine.GetInteger("PriceWithoutVAT") }.PriceWithoutVATFormatted)
} }