{% trans_default_domain 'invoice' %} {% 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 %} {% if not paginatable is defined %} {% set paginatable = true %} {% endif %} {% if not sortable is defined %} {% set sortable = true %} {% endif %} {% if table_selectable %} {{ form_start(list_form) }}

Liquidaciones de Compras

   {#
#}
{% endif %} {# {% if table_selectable %} {% endif %}#} {% if invoices|length == 0 %} {% endif %} {% for key, result in invoices %} {% set entity = result %} {% if table_selectable %} {% endif %} {% if is_granted('ROLE_ADMIN') %} {% endif %} {% endfor %}
Serie {% if sortable %} {{ knp_pagination_sortable(invoices, 'list.number'|trans, 'i.number') }} {% else %} {% trans %}list.number{% endtrans %} {% endif %} {% if sortable %} {{ knp_pagination_sortable(invoices, 'Ambiente', 'i.ambiente') }} {% else %} Ambiente {% endif %} {% if sortable %} {{ knp_pagination_sortable(invoices, 'list.customer'|trans, 'i.customer_name') }} {% else %} {% trans %}list.customer{% endtrans %} {% endif %} {% if sortable %} {{ knp_pagination_sortable(invoices, 'list.issue_date'|trans, 'i.issue_date') }} {% else %} {% trans %}list.issue_date{% endtrans %} {% endif %} {% if sortable %} {{ knp_pagination_sortable(invoices, 'list.gross_amount'|trans, 'i.gross_amount') }} {% else %} {% trans %}list.gross_amount{% endtrans %} {% endif %} {% if sortable %} {{ knp_pagination_sortable(invoices, 'list.status'|trans, 'i.status') }} {% else %} {% trans %}list.status{% endtrans %} {% endif %}
{% trans %}list.no_results{% endtrans %}
{{ entity.serie('invoice.draft_label'|trans) }} {{ entity.label('invoice.draft_label'|trans) }} {{ entity.labelAmbiente }} {{ entity.getProviderName }} {{ entity.issueDate|date("d/m/Y") }} {{ entity.grossAmount|localizedcurrency(currency, app.request.locale) }} {% if entity.estado == 'A' %} Autorizado {% else %} No Autorizado {% endif %} {% trans %} list.payments{% endtrans %}
{% if table_selectable %}
{% if paginatable %} {% endif %}
{{ form_end(list_form) }} {% endif %}