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']; - +