From 222c1f1a15b32d0151ee104cb088d8f9cdc19831 Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Sat, 3 Jan 2026 11:55:40 +0000 Subject: [PATCH] a --- Js/fonctions.js | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/Js/fonctions.js b/Js/fonctions.js index 2e01c64..8eb51f6 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -1568,3 +1568,29 @@ function controle_date_avenant() $("#dateAvenant").readable(); $("#motifavenant").readable(); } + +function init_import_assures() +{ + nbCollege = $("#nbCollege_C").val(); + + if (nbCollege<="0") + { + v_msg="Aucun collège!"; + v_msgEng="No college!"; + alert_ebene(v_msg, v_msgEng); + return; + } + + nbAdh = $("#nbAdh_C").val(); + codeTypeContrat = $("#codeTypeContrat_C").val(); + + if (codeTypeContrat=="P") + { + v_msg="Ce n\'est pas une police GROUPE!"; + v_msgEng="This is not a GROUP policy!"; + alert_ebene(v_msg, v_msgEng); + return; + } + + window.location.assign($("#racineWeb" ).val()+"Importassure/"); +}