Atualização: template Excel de alíquotas e layout da aba
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-07-30 09:48:44 -03:00
parent b51eeac014
commit d8db2a60e5
8 changed files with 976 additions and 198 deletions

View File

@@ -63,3 +63,9 @@ async def adicionar_fatura(dados, caminho_pdf):
logger.error(f"Erro ao adicionar fatura no banco: {e}")
await session.rollback()
raise
def avaliar_formula(formula: str, contexto: dict):
try:
return eval(formula, {}, contexto)
except Exception as e:
return None