worker-automate-hub 0.5.603__py3-none-any.whl → 0.5.605__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.
- worker_automate_hub/tasks/jobs/devolucao_ctf.py +4 -0
- worker_automate_hub/tasks/jobs/entrada_de_notas_15.py +9 -6
- {worker_automate_hub-0.5.603.dist-info → worker_automate_hub-0.5.605.dist-info}/METADATA +1 -1
- {worker_automate_hub-0.5.603.dist-info → worker_automate_hub-0.5.605.dist-info}/RECORD +6 -6
- {worker_automate_hub-0.5.603.dist-info → worker_automate_hub-0.5.605.dist-info}/WHEEL +0 -0
- {worker_automate_hub-0.5.603.dist-info → worker_automate_hub-0.5.605.dist-info}/entry_points.txt +0 -0
@@ -4221,7 +4221,11 @@ async def devolucao_ctf(task: RpaProcessoEntradaDTO) -> RpaRetornoProcessoDTO:
|
|
4221
4221
|
status=RpaHistoricoStatusEnum.Falha,
|
4222
4222
|
tags=[RpaTagDTO(descricao=RpaTagEnum.Tecnico)]
|
4223
4223
|
)
|
4224
|
+
|
4224
4225
|
|
4226
|
+
with open(f"{path_to_txt}.pdf", 'rb') as file:
|
4227
|
+
file_bytes = io.BytesIO(file.read())
|
4228
|
+
|
4225
4229
|
|
4226
4230
|
desArquivo = f"CAIXA 13 DEVOLUCAO {numero_cupom_fiscal}.pdf"
|
4227
4231
|
try:
|
@@ -65,9 +65,6 @@ async def entrada_de_notas_15(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
|
|
65
65
|
try:
|
66
66
|
# Get config from BOF
|
67
67
|
config = await get_config_by_name("login_emsys")
|
68
|
-
console.print(task)
|
69
|
-
|
70
|
-
console.print(config)
|
71
68
|
|
72
69
|
# Seta config entrada na var nota para melhor entendimento
|
73
70
|
nota = task.configEntrada
|
@@ -541,8 +538,13 @@ async def entrada_de_notas_15(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
|
|
541
538
|
|
542
539
|
panel_TabPagamento = panel_TTabSheet.child_window(class_name="TTabSheet")
|
543
540
|
#check if have restante
|
544
|
-
|
545
|
-
|
541
|
+
app = Application().connect(class_name="TFrmNotaFiscalEntrada")
|
542
|
+
panel_nf = app['TFrmNotaFiscalEntrada']
|
543
|
+
remove_btn = panel_nf.child_window(class_name="TDBIBitBtn", found_index=0)
|
544
|
+
if remove_btn.exists() and remove_btn.is_enabled():
|
545
|
+
remove_btn.click()
|
546
|
+
else:
|
547
|
+
print("Botão de exclusão não encontrado ou desabilitado.")
|
546
548
|
try:
|
547
549
|
#Confirm screen to remove actual value and expiration date
|
548
550
|
app = Application().connect(class_name="TMessageForm")
|
@@ -693,4 +695,5 @@ async def entrada_de_notas_15(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
|
|
693
695
|
retorno=observacao,
|
694
696
|
status=RpaHistoricoStatusEnum.Falha,
|
695
697
|
tags=[RpaTagDTO(descricao=RpaTagEnum.Tecnico)],
|
696
|
-
)
|
698
|
+
)
|
699
|
+
|
@@ -42,7 +42,7 @@ worker_automate_hub/tasks/jobs/conexao_rdp.py,sha256=S6QC4xhuo0pB5FjaUJZNMm1LIgE
|
|
42
42
|
worker_automate_hub/tasks/jobs/cte_manual.py,sha256=JucHpRMjMiy-QEJ0wtFnytLpN53tKXgCDI05nGLGclU,603
|
43
43
|
worker_automate_hub/tasks/jobs/cte_xml.py,sha256=Ix24vLDjDbLxAgmAdljSltAAIiRGOt3DACKdsJDxX68,15072
|
44
44
|
worker_automate_hub/tasks/jobs/descartes.py,sha256=E5kKef8j7e0PTm6NBeZAXkljUoAFEMjVWvHaJ8g2fv4,44451
|
45
|
-
worker_automate_hub/tasks/jobs/devolucao_ctf.py,sha256=
|
45
|
+
worker_automate_hub/tasks/jobs/devolucao_ctf.py,sha256=s7-K3byu-G5smd0aU8_9dqImZKAf4X0PcpsQNLTf9AI,251928
|
46
46
|
worker_automate_hub/tasks/jobs/devolucao_prazo_a_faturar.py,sha256=byIk02T4fWCVgKisf50ZAEY26d8FMTlX9S7RnQVtoEE,256763
|
47
47
|
worker_automate_hub/tasks/jobs/ecac_estadual_go.py,sha256=dKkf22nH5gp3RErq5u0UzRsKyJ81fc6ZZ4vLtUuMwHA,21002
|
48
48
|
worker_automate_hub/tasks/jobs/ecac_estadual_main.py,sha256=8WmKe4-MRtzHobXz2S4YBDNN8alfawkC-BBlRY-mn1g,1726
|
@@ -52,7 +52,7 @@ worker_automate_hub/tasks/jobs/ecac_estadual_sp.py,sha256=AqSsn0SlK_nok4AhMCNUlA
|
|
52
52
|
worker_automate_hub/tasks/jobs/ecac_federal.py,sha256=VFOrbMuMHL3ac1sJ-z-N1p1WYtP-e-JJHbvUfgmfgNw,55748
|
53
53
|
worker_automate_hub/tasks/jobs/entrada_cte_1353.py,sha256=knwPbjZZsnvHKurs7O7gv7bFpQIAmv4qPB1rZa3zBsY,12102
|
54
54
|
worker_automate_hub/tasks/jobs/entrada_cte_333.py,sha256=FvpU_bsdPB2ANQ_i63Jlkdo5yZM4zJdr2mm41KTrJtE,13285
|
55
|
-
worker_automate_hub/tasks/jobs/entrada_de_notas_15.py,sha256=
|
55
|
+
worker_automate_hub/tasks/jobs/entrada_de_notas_15.py,sha256=BYmdPLJFZEHD_lVSpuaTDLZrx33ox8Re7QDzXjXDiB8,29524
|
56
56
|
worker_automate_hub/tasks/jobs/entrada_de_notas_16.py,sha256=-0AmpCXT45ptyZEeNkQ_6Mt--44N6pQjW2f6oLrOQvk,35710
|
57
57
|
worker_automate_hub/tasks/jobs/entrada_de_notas_207.py,sha256=A5HM2Eh2bGZueVefnQL9KiCWW95j8zX1v2MslgbDcUE,36871
|
58
58
|
worker_automate_hub/tasks/jobs/entrada_de_notas_32.py,sha256=lku233FqwOknXF14HHC6fZ75WubE69Jp32bAUhKPtGQ,34575
|
@@ -95,7 +95,7 @@ worker_automate_hub/utils/updater.py,sha256=en2FCGhI8aZ-JNP3LQm64NJDc4awCNW7UhbV
|
|
95
95
|
worker_automate_hub/utils/util.py,sha256=_pgZOFWgXoov6WPbqyRTDVXJCRFfucYB3gb9swzU7bo,198281
|
96
96
|
worker_automate_hub/utils/utils_nfe_entrada.py,sha256=wmnpuOesmPSryZszmapa37b9YNC0E2MkeDYnbwr-0rU,33315
|
97
97
|
worker_automate_hub/worker.py,sha256=axdrr1xLTjWEyWfcyH3OCSpPTsyzck_fL_0u1DBLjvw,6525
|
98
|
-
worker_automate_hub-0.5.
|
99
|
-
worker_automate_hub-0.5.
|
100
|
-
worker_automate_hub-0.5.
|
101
|
-
worker_automate_hub-0.5.
|
98
|
+
worker_automate_hub-0.5.605.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
|
99
|
+
worker_automate_hub-0.5.605.dist-info/METADATA,sha256=_Xok0BH93baX6tg9VFtIvfdfaOG1X-dlPA6i9Sy74g0,3049
|
100
|
+
worker_automate_hub-0.5.605.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
101
|
+
worker_automate_hub-0.5.605.dist-info/RECORD,,
|
File without changes
|
{worker_automate_hub-0.5.603.dist-info → worker_automate_hub-0.5.605.dist-info}/entry_points.txt
RENAMED
File without changes
|