{% set orderLines = field.value %}
Aucune ligne de commande.
{% else %}| Produit | SKU | Quantité | Prix total |
|---|---|---|---|
| {{ line.product.description }} | {{ line.product.sku }} | {{ line.quantity }} | {{ line.totalPrice|number_format(2, ',', ' ') }} € |
| Total commande | {{ orderLines|reduce((carry, line) => carry + line.totalPrice, 0)|number_format(2, ',', ' ') }} € | ||