{#- SPDX-License-Identifier: Apache-2.0 SPDX-FileCopyrightText: 2025 - 2026 BMO Soluciones, S.A. -#} {% extends "base.html" %} {% from 'macros.html' import render_pagination %} {% block content %}

{{ _('Planillas') }}

{{ _('Nueva Planilla') }}
{{ _('Filtros') }}
{{ _('Limpiar') }}
{% if planillas %}
{% for planilla in planillas %} {% endfor %}
{{ _('Nombre') }} {{ _('Tipo') }} {{ _('Moneda') }} {{ _('Nominas') }} {{ _('Empleados') }} {{ _('Percepciones') }} {{ _('Deducciones') }} {{ _('Prestaciones') }} {{ _('Nóminas') }} {{ _('Activo') }} {{ _('Acciones') }}
{{ planilla.nombre }} {% if planilla.descripcion %}
{{ planilla.descripcion }} {% endif %}
{% if planilla.tipo_planilla %} {{ planilla.tipo_planilla.codigo }} {% else %} - {% endif %} {% if planilla.moneda %} {{ planilla.moneda.codigo }} {% else %} - {% endif %} {{ nomina_counts.get(planilla.id, 0) }} {{ planilla.planilla_empleados | length }} {{ planilla.planilla_percepciones | length }} {{ planilla.planilla_deducciones | length }} {{ planilla.planilla_prestaciones | length }} {{ nomina_counts.get(planilla.id, 0) }} {% if planilla.activo %} {{ _('Sí') }} {% else %} {{ _('No') }} {% endif %}
{{ render_pagination(pagination, 'planilla.index') }} {% else %}

{{ _('No hay planillas registradas') }}

{{ _('Crear Primera Planilla') }}
{% endif %}
{% endblock %}