worker-automate-hub 0.4.387__py3-none-any.whl → 0.4.389__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/entrada_de_notas_9.py +5 -1
- {worker_automate_hub-0.4.387.dist-info → worker_automate_hub-0.4.389.dist-info}/METADATA +1 -1
- {worker_automate_hub-0.4.387.dist-info → worker_automate_hub-0.4.389.dist-info}/RECORD +5 -5
- {worker_automate_hub-0.4.387.dist-info → worker_automate_hub-0.4.389.dist-info}/WHEEL +0 -0
- {worker_automate_hub-0.4.387.dist-info → worker_automate_hub-0.4.389.dist-info}/entry_points.txt +0 -0
@@ -658,8 +658,12 @@ async def entrada_de_notas_9(task: RpaProcessoEntradaDTO) -> RpaRetornoProcessoD
|
|
658
658
|
else:
|
659
659
|
data_vencimento = ""
|
660
660
|
if "vibra" in nota.get("nomeFornecedor").lower() or "ipiranga" in nota.get("nomeFornecedor").lower() or "raizen" in nota.get("nomeFornecedor").lower() or "charrua" in nota.get("nomeFornecedor").lower():
|
661
|
+
pattern = r"(\d{2}/\d{2}/\d{4})"
|
662
|
+
match = re.search(pattern, nota.get("recebimentoFisico"))
|
663
|
+
recebimento_fisico = match.group(1) if match else None
|
664
|
+
recebimento_fisico = datetime.strptime(recebimento_fisico, "%d/%m/%Y")
|
665
|
+
recebimento_fisico = recebimento_fisico.strftime("%d/%m/%Y")
|
661
666
|
if recebimento_fisico > dt_emissao + timedelta(days=2):
|
662
|
-
recebimento_fisico = recebimento_fisico.strftime("%d/%m/%Y")
|
663
667
|
console.print(f"Informando a data de vencimento, {recebimento_fisico}... \n")
|
664
668
|
data_vencimento = recebimento_fisico
|
665
669
|
else:
|
@@ -48,7 +48,7 @@ worker_automate_hub/tasks/jobs/entrada_de_notas_39.py,sha256=XkSEe6Y2S5Zf8Eq619d
|
|
48
48
|
worker_automate_hub/tasks/jobs/entrada_de_notas_500.py,sha256=ryl5AZ2617aROSVcS-N5wQIBlFQ1Bp0khUH9fP4DOzU,26542
|
49
49
|
worker_automate_hub/tasks/jobs/entrada_de_notas_505.py,sha256=jIml8gjXPdI6_x7S9VVV8IrKZRF7_PTNOMnhNmYMDTU,14490
|
50
50
|
worker_automate_hub/tasks/jobs/entrada_de_notas_7139.py,sha256=8XP9G3n0PUeshbRWkWKOMnyUGRWspIolPZVqQTR3SMI,14184
|
51
|
-
worker_automate_hub/tasks/jobs/entrada_de_notas_9.py,sha256=
|
51
|
+
worker_automate_hub/tasks/jobs/entrada_de_notas_9.py,sha256=RGxz2YPOleKnrGQQSsmStuytL9M704zcnAIr50G7SKY,43764
|
52
52
|
worker_automate_hub/tasks/jobs/exemplo_processo.py,sha256=3-zxbb-9YHPmSA_K1Qgxp_FwSqg2QDjGBRCLxDZ8QoQ,3451
|
53
53
|
worker_automate_hub/tasks/jobs/fidc_gerar_nosso_numero.py,sha256=Y-mKYcgX1kwcy_sOHvctn7clXnY3O3fohvOs7tKPMkM,9484
|
54
54
|
worker_automate_hub/tasks/jobs/fidc_remessa_cobranca_cnab240.py,sha256=QBGm6eS5JghgNWNqZlk1g2a2iV8LnBLiOTBBL3Giet0,4181
|
@@ -67,7 +67,7 @@ worker_automate_hub/utils/updater.py,sha256=0LR6Xpe3HZk-xu-trH7vKRhP5FXp0nhp1qxt
|
|
67
67
|
worker_automate_hub/utils/util.py,sha256=YCbgMMBwhp9LD6NUmE5S2K6S12TNEpGJm25FqfsIKPE,119544
|
68
68
|
worker_automate_hub/utils/utils_nfe_entrada.py,sha256=GsvN7XMWAmCFHqC0YMZsjsb0myL-7ahuzHN4jPNn0zc,27623
|
69
69
|
worker_automate_hub/worker.py,sha256=vkl_x7gSo6nQlhSBLwRkGx6LEONnYptfBaGxOy1ZLsE,4634
|
70
|
-
worker_automate_hub-0.4.
|
71
|
-
worker_automate_hub-0.4.
|
72
|
-
worker_automate_hub-0.4.
|
73
|
-
worker_automate_hub-0.4.
|
70
|
+
worker_automate_hub-0.4.389.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
|
71
|
+
worker_automate_hub-0.4.389.dist-info/METADATA,sha256=lP5DMZfK1w6hcf5NeCdy-aGz_VEHUZj7aBRf4qb965U,2895
|
72
|
+
worker_automate_hub-0.4.389.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
73
|
+
worker_automate_hub-0.4.389.dist-info/RECORD,,
|
File without changes
|
{worker_automate_hub-0.4.387.dist-info → worker_automate_hub-0.4.389.dist-info}/entry_points.txt
RENAMED
File without changes
|