{% trans_default_domain 'lcshop' %} {% macro tableHead() %} {% endmacro %} {% macro products(form_order_products) %} {% endmacro %} {% macro productsTemplate(form_order_products) %} {% endmacro %} {% macro tableTotal() %}
Produits / Producteurs Prix HT à l'unité Prix TTC à l'unité Disponibilité Quantité Total
{% verbatim %}{{orderProduct.title}}{% endverbatim %} {% verbatim %}{{orderProduct.price}}{% endverbatim %}€ {% verbatim %}{{orderProduct.priceWithTax}}{% endverbatim %}€ {% verbatim %}{{orderProduct.availableQuantity}}{% endverbatim %}
{{ form_widget(form_order_products.orderProducts.vars.prototype.quantityOrder, {'attr' : {'ref': 'fieldQuantity', 'v-model' : 'orderProduct.quantityOrder', '@change' : 'updateOrderProducts'}}) }} {{ form_widget(form_order_products.orderProducts.vars.prototype.product, {'attr' : {'ref' : 'fieldProduct', 'v-model' : 'orderProduct.product'}}) }} {#{{ form_widget(form_order_products.orderProducts.vars.prototype.id, {'attr' : {'ref' : 'fieldId', 'v-model' : 'orderProduct.id'}}) }}#}
{% verbatim %}{{ orderProduct.quantityOrder }}{% endverbatim %}
{% verbatim %}{{orderProduct.totalWithTaxAndReduction}}{% endverbatim %}€
{# #}
Total produits TTC ${order.totalOrderProductsWithTax}€
Total produits après réductions TTC ${order.totalOrderProductsWithTaxAndReductions}€
Frais de livraisons TTC ${order.deliveryPriceWithTaxAndReduction}€
Total Taxes ${order.totalWithTax}€
Total TTC ${order.totalWithTax}€
{% endmacro %} {% macro mainInfo() %} {#${order.id}#}
{{ "field.default.user"|trans({}, 'lcshop') }}
{{ "field.default.date"|trans({}, 'lcshop') }} ${order.createdAt} ${order.createdAt}
{{ "field.OrderShop.total"|trans({}, 'lcshop') }} ${order.totalWithTax} €
{{ "field.OrderShop.status"|trans({}, 'lcshop') }} ${order.orderStatus}
{#
{{ "field.OrderShop.status"|trans }}
${order.orderStatus}
#} {% endmacro mainInfo %} {% macro addressInfo() %}
{{ "field.default.invoiceAddress"|trans({}, 'lcshop') }}
{{ "field.default.deliveryAddress"|trans({}, 'lcshop') }}
{{ "field.default.deliveryPointSale"|trans({}, 'lcshop') }} :
Aucun lieu de livraison défini.
{{ "field.default.deliveryAvailabilty"|trans({}, 'lcshop') }} :
{% endmacro addressInfo %}