{# TODO: Make this pretty for row actions (add tax, add item before, add item after...) #}
|
{# CAMPO CODIGO DEL PRODUCTO
{% if bundle_exists('SiwappProductBundle') %}
{{ form_widget(form.product, {'attr': {'class': 'product-autocomplete-name'}}) }}
{{ form_errors(form.product) }}
{% if bundle_exists('SiwappProductBundle') %}
{% endif %}
|
{% endif %}
#}
{{ form_widget(form.description, {'attr': {'class': 'sv_input_codigo text-uppercase product-autocomplete-description'}}) }}
{{ form_errors(form.description) }}
{##}
|
{{ form_widget(form.quantity) }}
{{ form_errors(form.quantity) }}
|
{{ form_widget(form.unitary_cost) }}
{{ form_errors(form.unitary_cost) }}
|
{{ form_widget(form.discount_percent) }}
{{ form_errors(form.discount_percent) }}
|
{{ form_widget(form.taxes) }}
{{ form_errors(form.taxes) }}
|
{{ entity.grossAmount|localizedcurrency(currency, app.request.locale) }}
|