diff --git a/Js/fonctions.js b/Js/fonctions.js index 13172e4..1307e7e 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -1619,3 +1619,44 @@ function exporter_modele_assure() } }); } + +function selectionner_adherent(id,no) +{ + $("#idAdherent_C" ).val(id); + $("#numeroAdherent_C" ).val(no); +} + +function afficher_adherent() +{ + debugger; + + if ($("#numeroAdherent_C" ).val()>"") + { + window.location.assign($("#racineWeb" ).val()+"Ficheadherent/"+$("#numeroAdherent_C" ).val()+"/"); + } +} + +function afficher_adherent_id() +{ + debugger; + codeTypeContrat = $("#codeTypeContrat_C").val(); + if (codeTypeContrat=="F") + { + afficher_adherent_familiale_id(); + return; + } + + idAdherent = $("#idAdherent_C" ).val(); + if (idAdherent>"0") + { + window.location.assign($("#racineWeb" ).val()+"Ficheadherent/"+$("#idAdherent_C" ).val()+"/"); + } +} + +function afficher_adherent_id_plus(idAdherent) +{ + if (idAdherent>"0") + { + window.location.assign($("#racineWeb" ).val()+"Ficheadherent/"+idAdherent+"/"); + } +} \ No newline at end of file diff --git a/Vue/Ajaxlisteadherent/index.php b/Vue/Ajaxlisteadherent/index.php index 763586e..0bfc384 100644 --- a/Vue/Ajaxlisteadherent/index.php +++ b/Vue/Ajaxlisteadherent/index.php @@ -32,6 +32,10 @@ + + + +