worker-automate-hub 0.5.683__py3-none-any.whl → 0.5.684__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,6 +16,9 @@ import pytesseract
16
16
  from pywinauto.application import Application
17
17
  from pywinauto_recorder.player import set_combobox
18
18
  from rich.console import Console
19
+ import sys
20
+
21
+ # sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..", "..")))
19
22
 
20
23
  from worker_automate_hub.api.ahead_service import save_xml_to_downloads
21
24
  from worker_automate_hub.api.client import (
@@ -583,12 +586,20 @@ async def entrada_de_notas_16(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
583
586
  await worker_sleep(10)
584
587
  await emsys.percorrer_grid(cnpj)
585
588
  await emsys.select_tipo_cobranca()
589
+ valor_str = nota.get("valorNota")
590
+ if valor_str:
591
+ valor_str = valor_str.replace('.', '').replace(',', '.')
592
+ valor_nota = float(valor_str)
593
+ else:
594
+ valor_nota = None
595
+
586
596
  await emsys.inserir_vencimento_e_valor(
587
597
  nota.get("nomeFornecedor"),
588
598
  nota.get("dataEmissao"),
589
599
  nota.get("dataVencimento"),
590
- nota.get("valorNota"),
600
+ valor_nota,
591
601
  )
602
+
592
603
  await worker_sleep(5)
593
604
  try:
594
605
  retorno = await emsys.incluir_registro(chave_nfe=nota.get("nfe"))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: worker-automate-hub
3
- Version: 0.5.683
3
+ Version: 0.5.684
4
4
  Summary: Worker Automate HUB é uma aplicação para automatizar rotinas de RPA nos ambientes Argenta.
5
5
  Author: Joel Paim
6
6
  Requires-Python: >=3.12,<4.0
@@ -54,7 +54,7 @@ worker_automate_hub/tasks/jobs/ecac_federal.py,sha256=VFOrbMuMHL3ac1sJ-z-N1p1WYt
54
54
  worker_automate_hub/tasks/jobs/entrada_cte_1353.py,sha256=knwPbjZZsnvHKurs7O7gv7bFpQIAmv4qPB1rZa3zBsY,12102
55
55
  worker_automate_hub/tasks/jobs/entrada_cte_333.py,sha256=FvpU_bsdPB2ANQ_i63Jlkdo5yZM4zJdr2mm41KTrJtE,13285
56
56
  worker_automate_hub/tasks/jobs/entrada_de_notas_15.py,sha256=BYmdPLJFZEHD_lVSpuaTDLZrx33ox8Re7QDzXjXDiB8,29524
57
- worker_automate_hub/tasks/jobs/entrada_de_notas_16.py,sha256=xVz5bhbAYt1IeXbkYYXG6JvFWZ8Z0-mHOi218evI1So,36829
57
+ worker_automate_hub/tasks/jobs/entrada_de_notas_16.py,sha256=CaYIgX7lO37-D9tr9NrUKJaAdebYi1Bn0VOZNpr4y3I,37159
58
58
  worker_automate_hub/tasks/jobs/entrada_de_notas_207.py,sha256=A5HM2Eh2bGZueVefnQL9KiCWW95j8zX1v2MslgbDcUE,36871
59
59
  worker_automate_hub/tasks/jobs/entrada_de_notas_32.py,sha256=lku233FqwOknXF14HHC6fZ75WubE69Jp32bAUhKPtGQ,34575
60
60
  worker_automate_hub/tasks/jobs/entrada_de_notas_33.py,sha256=ODp82BkWaiF40t6uZLJYxG2nGGnvDyeQBHhkkh9ZgPI,35994
@@ -98,7 +98,7 @@ worker_automate_hub/utils/updater.py,sha256=en2FCGhI8aZ-JNP3LQm64NJDc4awCNW7UhbV
98
98
  worker_automate_hub/utils/util.py,sha256=xA13nQqZglwkvfAKH18Unv4UoZUyvL58CacSrzUpYTw,206352
99
99
  worker_automate_hub/utils/utils_nfe_entrada.py,sha256=L_z1Aps6BFWl-6_Ibm45vDid1S4kFDz5O78N2uO1Rq0,36458
100
100
  worker_automate_hub/worker.py,sha256=axdrr1xLTjWEyWfcyH3OCSpPTsyzck_fL_0u1DBLjvw,6525
101
- worker_automate_hub-0.5.683.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
102
- worker_automate_hub-0.5.683.dist-info/METADATA,sha256=NmeYFu6JZ_imUpWsOCgDjsF_hkj5jOOJ1-AW6K8CbUU,3049
103
- worker_automate_hub-0.5.683.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
104
- worker_automate_hub-0.5.683.dist-info/RECORD,,
101
+ worker_automate_hub-0.5.684.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
102
+ worker_automate_hub-0.5.684.dist-info/METADATA,sha256=Fa2ILV0Q4EM8W8Mw-iSvRKb9YSS5kLQXnRYqQQjDA6g,3049
103
+ worker_automate_hub-0.5.684.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
104
+ worker_automate_hub-0.5.684.dist-info/RECORD,,