worker-automate-hub 0.5.609__py3-none-any.whl → 0.5.610__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 +14 -4
- {worker_automate_hub-0.5.609.dist-info → worker_automate_hub-0.5.610.dist-info}/METADATA +1 -1
- {worker_automate_hub-0.5.609.dist-info → worker_automate_hub-0.5.610.dist-info}/RECORD +5 -5
- {worker_automate_hub-0.5.609.dist-info → worker_automate_hub-0.5.610.dist-info}/WHEEL +0 -0
- {worker_automate_hub-0.5.609.dist-info → worker_automate_hub-0.5.610.dist-info}/entry_points.txt +0 -0
@@ -316,6 +316,10 @@ async def devolucao_ctf(task: RpaProcessoEntradaDTO) -> RpaRetornoProcessoDTO:
|
|
316
316
|
pyautogui.press("tab")
|
317
317
|
await worker_sleep(2)
|
318
318
|
|
319
|
+
|
320
|
+
itens = nota.get('itens', [])
|
321
|
+
itens_arla = [item for item in itens if item['descricao'].lower() == 'arla']
|
322
|
+
|
319
323
|
#SELECIONAO A NOP
|
320
324
|
console.print("SELECIONAO A NOP...\n")
|
321
325
|
select_box_nop_select = main_window.child_window(class_name="TDBIComboBox", found_index=0)
|
@@ -324,10 +328,16 @@ async def devolucao_ctf(task: RpaProcessoEntradaDTO) -> RpaRetornoProcessoDTO:
|
|
324
328
|
itens_to_select = select_box_nop_select.texts()
|
325
329
|
nop_to_be_select = ''
|
326
330
|
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
+
if len(itens_arla) == len(itens):
|
332
|
+
for item in itens_to_select:
|
333
|
+
if '1202' in item and (('c/est' in item.lower() or 's /fi' in item.lower())):
|
334
|
+
nop_to_be_select = item
|
335
|
+
break
|
336
|
+
else:
|
337
|
+
for item in itens_to_select:
|
338
|
+
if '1662' in item and (('c/fi' in item.lower() or 'c /fi' in item.lower())):
|
339
|
+
nop_to_be_select = item
|
340
|
+
break
|
331
341
|
|
332
342
|
if nop_to_be_select != '':
|
333
343
|
set_combobox("||List", nop_to_be_select)
|
@@ -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=CdDcDRjCJTU2DV0KAglqgCVb13ahMqzYdmaeJRKcR0o,15038
|
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=t_fWAXIEKPSL_kfhORU5cWARwpHAt2HcuAKusAbVO8E,252356
|
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
|
@@ -96,7 +96,7 @@ worker_automate_hub/utils/updater.py,sha256=en2FCGhI8aZ-JNP3LQm64NJDc4awCNW7UhbV
|
|
96
96
|
worker_automate_hub/utils/util.py,sha256=_pgZOFWgXoov6WPbqyRTDVXJCRFfucYB3gb9swzU7bo,198281
|
97
97
|
worker_automate_hub/utils/utils_nfe_entrada.py,sha256=wmnpuOesmPSryZszmapa37b9YNC0E2MkeDYnbwr-0rU,33315
|
98
98
|
worker_automate_hub/worker.py,sha256=axdrr1xLTjWEyWfcyH3OCSpPTsyzck_fL_0u1DBLjvw,6525
|
99
|
-
worker_automate_hub-0.5.
|
100
|
-
worker_automate_hub-0.5.
|
101
|
-
worker_automate_hub-0.5.
|
102
|
-
worker_automate_hub-0.5.
|
99
|
+
worker_automate_hub-0.5.610.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
|
100
|
+
worker_automate_hub-0.5.610.dist-info/METADATA,sha256=FeQk6w3qumgWqZ44Llm4XJGeeGQorGqz46nvdEmF6FM,3049
|
101
|
+
worker_automate_hub-0.5.610.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
102
|
+
worker_automate_hub-0.5.610.dist-info/RECORD,,
|
File without changes
|
{worker_automate_hub-0.5.609.dist-info → worker_automate_hub-0.5.610.dist-info}/entry_points.txt
RENAMED
File without changes
|