{{ form_start(customerSaleOrderLineForm) }}
|
|
{{ 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'}}) }} |
|
{{ form_end(customerSaleOrderLineForm) }}
{% endif %}
{% for customer_sale_order_line in customer_sale_order.customerSaleOrderLines %}
{% if not customer_sale_order.isValidated %}
|
{% endif %}
{{ 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, ',', ' ') }} |
{# #}
|
{% endfor %}