{% extends "base.html" %}{% block title %}Resumo | GTI Fiscal{% endblock %}{% block content %}

OPERAÇÃO CENTRAL

Qual cliente precisa de atenção?

● Atualizado pelo snapshot
{% for key,label in [("agents_total","Agents total"),("online","Online"),("degraded","Degraded"),("offline","Offline"),("failed","Failed"),("safe_blocked","Safe blocked")] %}
{{ label }}{{ summary[key] }}
{% endfor %}

Cobertura fiscal

Ver instalações
{{ summary.total_products }}Produtos
{{ summary.fiscally_complete }}Completos
{{ summary.failed_products }}Falhas técnicas

Principais blockers

Abrir fila
{% for key,value in summary.blockers.items() %}
{{ key }}{{ value }}
{% else %}

Nenhum blocker aberto.

{% endfor %}
{% if summary.stale_agents %}

Heartbeat atrasado

Filtrar Agents
{% for item in summary.stale_agents[:8] %}{{ item.client }} · {{ item.display_name }}{{ item.hostname or "hostname indisponível" }}OFFLINE{% endfor %}
{% endif %}{% endblock %}