{{ form_start(form, {'attr': {'id': 'formDeliveryReceipt'}}) }}

{# #} Comprobante de salida de inventario


{% if tbl_deliveries_e_x.id is null %} {{ form_widget(form.numberDelivery, {'attr': {'class': 'form-control', 'disabled': '', 'value': constant('App\\Entity\\TblDeliveriesEX::CODE_DRIVING')~"-XXXXXX-X"}}) }} {% else %} {{ form_widget(form.numberDelivery, {'attr': {'class': 'form-control', 'disabled': '', 'value': tbl_deliveries_e_x.numberDelivery}}) }} {% endif %}
{{ form_widget(form.createdAt, {'attr': {'class': 'form-control datepicker', 'disabled': '', 'value':'now'|date('Y-m-d') }}) }}
{{ form_widget(form.nameCliente, {'attr': {'class': 'form-control', 'disabled': ''}}) }}

{{ form_widget(form.invoice, {'attr': {'class': 'form-control'}}) }}
{{ form_widget(form.address, {'attr': {'class': 'form-control', 'disabled': ''}}) }}
{% for item in items %} {% endfor %}
Artículo Inventario Cantidad disponible Cantidad a entregar
{{ form_widget(form.note, {'attr': {'class': 'form-control', 'rows': 4}}) }}
{% if tbl_deliveries_e_x.id is null %}
{% else %} {% endif %}
{{ form_end(form) }}