{#- SPDX-License-Identifier: Apache-2.0 SPDX-FileCopyrightText: 2025 - 2026 BMO Soluciones, S.A. -#} {% extends "base.html" %} {% from 'macros.html' import render_field %} {% block content %}
{% if items %}
{% for item in items %} {% endfor %}
{{ _('Código') }} {{ _('Nombre') }} {{ _('Tipo Cálculo') }} {{ _('Recurrente') }} {{ _('Estado') }} {{ _('Acciones') }}
{{ item.codigo }} {{ item.nombre }} {% if item.descripcion %}
{{ item.descripcion }} {% endif %}
{{ item.formula_tipo }} {% if item.porcentaje %} {{ item.porcentaje }}% {% elif item.monto_default %} {{ item.monto_default }} {% endif %} {% if item.recurrente %} {% else %} {% endif %} {% if item.activo %} {{ _('Activo') }} {% else %} {{ _('Inactivo') }} {% endif %}
{% if pagination.pages > 1 %} {% endif %} {% else %}

{{ _('No hay %(type)s registradas', type=config.plural|lower) }}

{{ _('Comience creando una nueva %(type)s', type=config.singular|lower) }}

{{ _('Nueva %(type)s', type=config.singular) }}
{% endif %}
{% endblock %}