{% extends 'base.html.twig' %} {% block title %}{{ 'catalogos.impuestos'|trans }}{% endblock %} {% block page_title %}{{ 'catalogos.impuestos'|trans }}{% endblock %} {% block breadcrumb %} {% endblock %} {% block content_header %} {% endblock %} {% block content %} {% set activeFilterCount = (f.q ? 1 : 0) + (f.activo != '' ? 1 : 0) %} {# Filters #}

{{ 'filter.title'|trans }}

{% if activeFilterCount > 0 %}{{ activeFilterCount }} activo{{ activeFilterCount == 1 ? '' : 's' }}{% endif %}
{% if activeFilterCount > 0 %}{{ 'filter.clear'|trans }}{% endif %}
{# Table #}
{% for it in items %} {% else %} {% endfor %}
Nombre Código SAT Porcentaje {{ 'table_columns.status'|trans }} {{ 'table.actions'|trans }}
{{ it.nombre }} {{ it.codigoSat ?? '-' }} {{ it.porcentaje }}% {% if it.activo %} {{ 'status.active'|trans }} {% else %} {{ 'status.inactive'|trans }} {% endif %} {% if is_granted('ROLE_OPERADOR') and it.clienteId is not empty %}
{{ 'button.edit'|trans }}
{% endif %}

{{ (activeFilterCount > 0 ? 'empty.no_results_title' : 'empty.no_data_title')|trans }}

{{ (activeFilterCount > 0 ? 'empty.no_results_copy' : 'empty.no_data_copy')|trans }}

{% if activeFilterCount > 0 %}{% endif %}
{% if pages > 1 %}
{{ 'table.page_of'|trans({'%page%': page, '%pages%': pages}) }}
{% endif %}
{% endblock %}