{% extends "base.html" %} {% from "_componentes/tarjeta.html" import tarjeta %} {% from "_componentes/badges.html" import badge, badge_nivel %} {% from "_componentes/aviso.html" import aviso %} {% from "_componentes/iconos.html" import icono %} {% from "operaciones/_paso5.html" import pestanas %} {% set ancho = "amplio" %} {% block titulo %}Carga {{ lote.id }}{% endblock %} {% block contenido %} {%- set confirmada = datos.get("estado") == "confirmada" %}
Carga incremental
{{ icono("check") }}Lote {{ lote.id }} confirmado. Las transacciones se cargaron{% if datos.get("posteriores_al_corte") %}; las posteriores al corte entran a la ventana en el próximo cierre de periodo{% endif %}.
{% call tarjeta("Resultado de la carga", plano=True) %}recalcular_agregados), solo para los clientes afectados.{{ datos.get("evento", "—") }} (solicitar_reevaluacion).ejecutar_reglas){% if datos.get("alertas_por_regla") %}: {% for clave, n in datos.alertas_por_regla.items() %}{{ clave }} × {{ n }}{% if not loop.last %} {% endif %}{% endfor %}{% else %}: ninguna alerta nueva{% endif %}.| Cliente | Antes | Después |
|---|---|---|
| {{ fila.id_externo }} | {% if fila.antes %}{{ badge_nivel(fila.antes) }}{% else %}{{ badge("Sin evaluar") }}{% endif %} | {% if fila.despues %}{{ badge_nivel(fila.despues) }}{% else %}{{ badge("Sin evaluar") }}{% endif %} |
| Ningún cliente afectado cambió de nivel. | ||
{% for c in datos.get("clientes") or [] %}{{ c.id_externo }}{% else %}—{% endfor %}
{% endcall %}| Hoja | Fila | Campo | Causa |
|---|---|---|---|
| {{ e.hoja }} | {{ e.fila if e.fila is not none else "—" }} | {{ e.campo }} | {{ e.mensaje }} |
| Sin errores registrados. | |||