From 10e8ce3cf4ba6d34d68dad4da8b49438fcfddb32 Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Sun, 4 Jan 2026 13:51:16 +0000 Subject: [PATCH] a --- Js/fonctions.js | 21 +++++++++++++++++++++ Vue/gabarit.php | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/Js/fonctions.js b/Js/fonctions.js index 519016f..8b87345 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -2347,3 +2347,24 @@ function changer_avenant_incorporation_beneficiaire() } }); } + +function filtrergenreconjoint() +{ + codeLienParente = $('#codeLienParente').val(); + genreAdherent = $('#genreAdherent').val(); + + if(codeLienParente=='C'){ + if(genreAdherent=="F"){ + $('#sexe').val('M'); + $('#sexeConjoint').val('M'); + }else{ + $('#sexe').val('F'); + $('#sexeConjoint').val('F'); + } + + $('#sexe').disable(); + return; + } + $('#sexe').enable(); +} + diff --git a/Vue/gabarit.php b/Vue/gabarit.php index de3fd75..1452eed 100755 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -635,7 +635,7 @@ $photoAssureCrypte = $_SESSION['photoAssureCrypte']; - +