{% extends "base.html.twig" %} {% trans_default_domain 'core' %} {% set table_columns = 8 %} {% if not table_selectable is defined %} {# This variable MUST be explicitly set to false to hide checkboxes #} {# If you set this to false and you have a second listing that display them #} {# set explicitly to true in the second listing. #} {% set table_selectable = true %} {% set table_columns = table_columns + 1 %} {% endif %} {% block stylesheets %} {# {{ parent() }}#} {% endblock %} {% block actionheader %} {% endblock %} {% block searchform_container %}{% endblock %} {% block body %}
{% block invoice_actions %}{% endblock %} {% block invoice_label %}{% endblock %}
{{ form_start(form, {'attr': {'class': 'form-stacked', 'id':'invoice' } }) }}
Listado Nuevo {# {% if not entity.id or entity.isDraft() %} {% endif %} {% if entity.isOpen() %} {% endif %} {% if entity.id %} {% endif %} #} {# {% if entity.id %} {% if entity.statusString != 'anulado' %} Pdf Mail Anular {% trans %}form.submit_delete{% endtrans %} {% endif %} {% endif %} #}
{#

{% trans %}abstract_invoice.form.customer{% endtrans %}

#}
{{ form_row(form.series) }}
{{ form_label(form.number) }} {{ form_widget(form.number, {'value' : "%09d"|format(form.number.vars.value) }) }}
{{ form_row(form.issue_date) }}
{{ form_label(form.customer_identification) }}
{{ form_widget(form.customer_identification) }}
{{ form_errors(form.customer_identification) }}
{% if formcustomer is defined %} {{ form_label(form.customer_name) }}
{{ form_widget(form.customer_name) }}
{{ form_errors(form.customer_name) }} {% else %} {{ form_row(form.customer_name) }} {% endif %}
{#
{{ form_row(form.contact_person) }}
#}
{{ form_label(form.customer_email) }}
{{ form_widget(form.customer_email) }}
{{ form_errors(form.customer_email) }}
{{ form_row(form.invoicing_address) }}
{% if estransportista %}
{{ form_row(form.placa) }}
{% endif %}

{% trans %}abstract_invoice.form.properties{% endtrans %}

{% block properties_form %}{% endblock %}
{% block additional_form_data %}{% endblock %}
{# {% if movil is defined %} #} {% include "Invoice/movil.item.twig" with {'entity': entity, 'form': form} %} {# {% else %} {% include "Invoice/layout.item.twig" with {'entity': entity, 'form': form} %} {% endif %} #}
{{ form_row(form.notes) }}
{% if entity.statusString != 'anulado' and entity.statusString != 'autorizado' %} {% endif %} {{ form_rest(form) }}
{{ form_end(form) }}
{% include "Core/customer.form.html.twig" %} {% include "Invoice/modalsearchcustomer.html.twig" %} {% include "Invoice/modalsearchproduct.html.twig" %} {% endblock %} {% block javascripts %} {#{{ parent() }}#} {% endblock %}