{% if not customer_sale_order.isValidated %} {% endif %} {% if not customer_sale_order.isValidated %} {{ form_start(customerSaleOrderLineForm) }} {{ form_end(customerSaleOrderLineForm) }} {% endif %} {% for customer_sale_order_line in customer_sale_order.customerSaleOrderLines %} {% if not customer_sale_order.isValidated %} {% endif %} {% endfor %}
# Article Reference Désignation Prix Quantité Taxe (%) Remise (%) Action
{{ form_widget(customerSaleOrderLineForm.productProduct, {'attr': {'class': 'form-control', 'data-plugin-selectTwo': 'data-plugin-selectTwo'}}) }} {{ form_widget(customerSaleOrderLineForm.reference, {'attr': {'class': 'form-control', 'placeholder': 'eg.: MH001'}}) }} {{ form_widget(customerSaleOrderLineForm.designation, {'attr': {'class': 'form-control', 'placeholder': 'eg.: Bonbon'}}) }} {{ form_widget(customerSaleOrderLineForm.price, {'attr': {'class': 'form-control', 'placeholder': 'eg.: 5000'}}) }} {{ form_widget(customerSaleOrderLineForm.quantity, {'attr': {'class': 'form-control', 'placeholder': 'eg.: 5'}}) }} {{ form_widget(customerSaleOrderLineForm.accountTax, {'attr': {'class': 'form-control', 'data-plugin-selectTwo': 'data-plugin-selectTwo'}}) }} {{ form_widget(customerSaleOrderLineForm.discount_rate, {'attr': {'class': 'form-control', 'placeholder': 'eg.: 5'}}) }}
{{ loop.index }} {{ customer_sale_order_line.productProduct }} {{ customer_sale_order_line.reference }} {{ customer_sale_order_line.designation }} {{ customer_sale_order_line.price|number_format(2, ',', ' ') }} {{ customer_sale_order_line.quantity|number_format(2, ',', ' ') }} {{ customer_sale_order_line.taxRate|number_format(2, ',', ' ') }} {{ customer_sale_order_line.discountRate|number_format(2, ',', ' ') }} {# #}

Montant HT {{ customer_sale_order.amountHt|number_format(2, ',', ' ') }}
Montant Remise {{ customer_sale_order.discountAmount|number_format(2, ',', ' ') }}
Montant Tax {{ customer_sale_order.taxAmount|number_format(2, ',', ' ') }}
Montant TTC {{ customer_sale_order.amountTtc|number_format(2, ',', ' ') }}