{{_(params.$.id ? 'Order' : 'ShoppingBasket')}}

SELECT o.id, o.sent, ag.description agency, v.code method, ad.nickname, ad.postalCode, ad.city, ad.street FROM myOrder o JOIN vn.agencyMode ag ON ag.id = o.agencyModeFk LEFT JOIN myAddress ad ON ad.id = o.addressFk JOIN vn.deliveryMethod v ON v.id = o.deliveryMethodFk WHERE o.id = #id;
#{{order.id}}
ShippingInformation

{{order.nickname}}

Delivery at {{Vn.Value.format(order.sent, _('%D'))}}

Agency {{order.agency}}

DeliveryAddress

{{order.street}}

{{order.postalCode}}, {{order.city}}

Total

SELECT bi.id, bi.amount, bi.price, i.longName item, i.tag5, i.value5, i.tag6, i.value6, i.tag7, i.value7, i.image, im.updated FROM myOrderRow bi JOIN vn.item i ON i.id = bi.itemFk LEFT JOIN image im ON im.collectionFk = 'catalog' AND im.name = i.image WHERE orderFk = #id

{{iter.item}}

{{iter.value5}} {{iter.value6}} {{iter.value7}}

{{Vn.Value.format(iter.price * iter.amount, '%.2d€')}}

{{iter.amount}} x {{Vn.Value.format(iter.price, '%.2d€')}}