This commit is contained in:
KONE SOREL 2026-01-28 18:21:26 +00:00
parent 40043a56df
commit 0d66bb356b
3 changed files with 15 additions and 1 deletions

View File

@ -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 sexécute quaprès clic sur OK
return;
});
}
remplacementAdherent=$("#remplacementAdherent").val();
if (remplacementAdherent!="1")
{

View File

@ -47,6 +47,7 @@
<INPUT class="sr-only" TYPE="text" id="remplace" name="remplace" value="<?= $adherent['remplace'] ?>" >
<INPUT class="sr-only" TYPE="text" id="remplacant" name="remplacant" value="<?= $adherent['remplacant'] ?>" >
<INPUT class="sr-only" TYPE="text" id="idApporteur" name="idApporteur" value="<?= $idApporteur ?>" >
<INPUT class="sr-only" TYPE="text" id="adherentRetire" name="adherentRetire" value="<?= $adherentRetire ?>" >
<div id="div_adherent" class="container-fluid py-1 animate__animated animate__fadeIn">

View File

@ -663,7 +663,7 @@ $photoAssureCrypte = $_SESSION['photoAssureCrypte'];
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
<!-- Application Scripts -->
<script src="/Js/fonctions.js?ver=2026.01.28.00"></script>
<script src="/Js/fonctions.js?ver=2026.01.28.01"></script>
<script type="text/javascript">
raffraichier_gabarit();