From 85e8c0f9726ae13b9c55e07b3eeb8ec60810c34c Mon Sep 17 00:00:00 2001 From: Johnathan Date: Fri, 4 Jul 2025 19:02:10 -0300 Subject: [PATCH 01/15] =?UTF-8?q?FDP-523=20Criar=20bot=C3=A3o=20para=20fac?= =?UTF-8?q?ilitar=20a=20exclus=C3=A3o=20do=20item?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/editar.php | 7 ++----- app/ficha.php | 7 +++++++ 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/app/editar.php b/app/editar.php index 98958f3..dd5bc32 100644 --- a/app/editar.php +++ b/app/editar.php @@ -389,7 +389,7 @@ - + @@ -719,10 +719,7 @@ function salvar() $(document).on('click', "#btn_excluir", function() { - if (confirm('Tem certeza de que deseja excluir este registro?')) - { - window.location.href = "functions/excluir.php?obj=&cod="; - } + window.location.href = "confirmar_exclusao.php?obj=&cod="; }); + + @@ -155,6 +157,11 @@ } }); }); + + $(document).on('click', "#btn_excluir", function() + { + window.location.href = "confirmar_exclusao.php?obj=&cod="; + }); Date: Tue, 8 Jul 2025 16:32:50 -0300 Subject: [PATCH 02/15] =?UTF-8?q?FDP-522=20Criar=20bot=C3=A3o=20para=20bai?= =?UTF-8?q?xar=20imagens=20em=20lote?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../campo_representantes_digitais.php | 11 +- app/functions/download.php | 77 +++++++++++++ app/functions/file_handler.php | 98 ++++++++++++++++ app/functions/serve_file.php | 106 +----------------- 4 files changed, 187 insertions(+), 105 deletions(-) create mode 100644 app/functions/download.php create mode 100644 app/functions/file_handler.php diff --git a/app/components/campo_representantes_digitais.php b/app/components/campo_representantes_digitais.php index 379871b..3ba3d9d 100755 --- a/app/components/campo_representantes_digitais.php +++ b/app/components/campo_representantes_digitais.php @@ -75,7 +75,7 @@ -
+
@@ -92,7 +92,7 @@ 0) && $vb_pode_editar) : ?> - + > Publicar todos online +
@@ -621,6 +622,12 @@ function atualizar_campo_() { ?>