worker-automate-hub 0.5.701__py3-none-any.whl → 0.5.702__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.
@@ -384,7 +384,7 @@ async def devolucao_ctf(task: RpaProcessoEntradaDTO) -> RpaRetornoProcessoDTO:
384
384
  for item in itens_to_select:
385
385
  if uf_posto:
386
386
  if uf_posto != uf_cliente:
387
- if '2662' in item and (('c/fi' in item.lower() or 'c /fi' in item.lower())):
387
+ if '2662' in item and (('c/fi' in item.lower() or 'c /fi' in item.lower() or 'c finan' in item.lower())):
388
388
  nop_to_be_select = item
389
389
  break
390
390
  else:
@@ -415,9 +415,15 @@ async def devolucao_prazo_a_faturar(task: RpaProcessoEntradaDTO) -> RpaRetornoPr
415
415
  nop_to_be_select = buscar_nop(itens_to_select, '2202', 's/estc/fin')
416
416
  else:
417
417
  if uf_posto and uf_posto != uf_cliente:
418
- nop_to_be_select = buscar_nop(itens_to_select, '2662', 'devcombc/fi')
419
- else:
420
- nop_to_be_select = buscar_nop(itens_to_select, '1662', 'devcombc/fi')
418
+ # Primeiro tenta pegar o C FINAN (amarelo)
419
+ nop_to_be_select = buscar_nop(itens_to_select, '2662', 'sestcfinan')
420
+ if not nop_to_be_select:
421
+ nop_to_be_select = buscar_nop(itens_to_select, '2662', 'devcombc/fi')
422
+ else:
423
+ # # Primeiro tenta pegar o C FINAN (amarelo) - CASO DER PROBLEMA NO 1662 - TESTAR COM ESSA FUNÇÃO ABAIXO
424
+ # nop_to_be_select = buscar_nop(itens_to_select, '1662', 'sestcfinan')
425
+ # if not nop_to_be_select:
426
+ nop_to_be_select = buscar_nop(itens_to_select, '1662', 'devcombc/fi')
421
427
 
422
428
  # Se encontrou, faz a seleção precisa no combobox
423
429
  if nop_to_be_select != '':
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: worker-automate-hub
3
- Version: 0.5.701
3
+ Version: 0.5.702
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
@@ -42,9 +42,9 @@ 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=m4BkJDgp95Vr3oqEh6wXeeb31qzZhRF2Sw0h_wsoL_k,15565
44
44
  worker_automate_hub/tasks/jobs/descartes.py,sha256=PAgsBA8A7cDDBp-WxsXt1l3hMfIgMHE0GZlES2xt79I,44453
45
- worker_automate_hub/tasks/jobs/devolucao_ctf.py,sha256=zQcRXZ9TxJhyL4jHjBTS-iW5BcmRoSPv9FsBLy0-eWQ,250793
45
+ worker_automate_hub/tasks/jobs/devolucao_ctf.py,sha256=7tdUihaDqjIf7POjM79EqKG0w-qqXbhC6jq6hteavkw,250822
46
46
  worker_automate_hub/tasks/jobs/devolucao_ctf_35.py,sha256=e9t5k2mtZcUcEGKPWysbWzsH_gqrK-6aBXjWe2jWfTg,253948
47
- worker_automate_hub/tasks/jobs/devolucao_prazo_a_faturar.py,sha256=Bxo5E5fwIMAE1Um0ZbwsYUmX6Z7YSJhsQ3_cqlPnvJU,272110
47
+ worker_automate_hub/tasks/jobs/devolucao_prazo_a_faturar.py,sha256=p6U8i2w65kQ395COz4QOoIzi0Iz3pAOrRuEvo1iGgwo,272582
48
48
  worker_automate_hub/tasks/jobs/ecac_estadual_go.py,sha256=dKkf22nH5gp3RErq5u0UzRsKyJ81fc6ZZ4vLtUuMwHA,21002
49
49
  worker_automate_hub/tasks/jobs/ecac_estadual_main.py,sha256=8WmKe4-MRtzHobXz2S4YBDNN8alfawkC-BBlRY-mn1g,1726
50
50
  worker_automate_hub/tasks/jobs/ecac_estadual_mt.py,sha256=C26zmpGQGUq6sP9lU9nanM3Fje-rkyx5tjwmRy4lyL8,25300
@@ -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=Yy4vDY5Wiw0uopy43IRm9jUgF5g1aFXMGVtG-GtH2g4,37524
100
100
  worker_automate_hub/worker.py,sha256=axdrr1xLTjWEyWfcyH3OCSpPTsyzck_fL_0u1DBLjvw,6525
101
- worker_automate_hub-0.5.701.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
102
- worker_automate_hub-0.5.701.dist-info/METADATA,sha256=W0SJg9cXbbQTVGpvoxZZVXmMjJxQqADjD145e5yhSDY,3049
103
- worker_automate_hub-0.5.701.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
104
- worker_automate_hub-0.5.701.dist-info/RECORD,,
101
+ worker_automate_hub-0.5.702.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
102
+ worker_automate_hub-0.5.702.dist-info/METADATA,sha256=o6t5m1xwXu-5pvXkGIvwu80YnstqVXv3Ob-IC9Y8MYE,3049
103
+ worker_automate_hub-0.5.702.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
104
+ worker_automate_hub-0.5.702.dist-info/RECORD,,