From 0d66bb356b555da9180b07e79d9018bac5b29f27 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Wed, 28 Jan 2026 18:21:26 +0000 Subject: [PATCH] ds --- Js/fonctions.js | 13 +++++++++++++ Vue/Ficheadherent/index.php | 1 + Vue/gabarit.php | 2 +- 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/Js/fonctions.js b/Js/fonctions.js index 7a438cc..33ddc95 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -6060,6 +6060,7 @@ function remplacer_adherent() { nbAdh = $("#nbAdh_C").val(); codeTypeContrat = $("#codeTypeContrat_C").val(); + adherentRetire = $("#adherentRetire").val(); if ( (codeTypeContrat!="G") && (nbAdh>0) ) { @@ -6083,6 +6084,18 @@ function remplacer_adherent() }); } + if (adherentRetire == "1") + { + v_msg="Famille déjà retirée."; + v_msgEng="Family already removed."; + + alert_ebene(v_msg, v_msgEng).then(() => { + // Ce code ne s’exécute qu’après clic sur OK + return; + }); + } + + remplacementAdherent=$("#remplacementAdherent").val(); if (remplacementAdherent!="1") { diff --git a/Vue/Ficheadherent/index.php b/Vue/Ficheadherent/index.php index dce4108..6c85a0a 100644 --- a/Vue/Ficheadherent/index.php +++ b/Vue/Ficheadherent/index.php @@ -47,6 +47,7 @@ +
diff --git a/Vue/gabarit.php b/Vue/gabarit.php index 39cc8b4..2713292 100755 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -663,7 +663,7 @@ $photoAssureCrypte = $_SESSION['photoAssureCrypte']; - +