Melhorias no upload de faturas: overlay com bloqueio visual e barra de progresso, validações por status no backend, feedback final com contagem de duplicados, impedimento de novos envios até reinício

This commit is contained in:
2025-07-29 17:09:58 -03:00
parent e7c2a64714
commit 5eac7782a1
3 changed files with 312 additions and 69 deletions

View File

@@ -97,8 +97,11 @@ async def get_status():
"nome": nome,
"status": status.get("status", "Erro"),
"mensagem": status.get("mensagem", "---"),
"tempo": status.get("tempo", "---") # ✅ AQUI
"tempo": status.get("tempo", "---"),
"tamanho": f"{status.get('tamanho', 0)} KB",
"data": status.get("data", "")
})
else:
files.append({
"nome": nome,