From b9e6e83bc8b2a6feba4f2b943446590d7ee3ec3a Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Fri, 2 Jan 2026 22:19:04 +0000 Subject: [PATCH 01/55] a --- Vue/Connexion/index.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Vue/Connexion/index.php b/Vue/Connexion/index.php index b6af70b..8200ed6 100755 --- a/Vue/Connexion/index.php +++ b/Vue/Connexion/index.php @@ -1,6 +1,13 @@ titre = "INTER-SANTE - Connexion" ; + var_dump + ( + "COOKIElang" => $_COOKIE['lang']; + "COOKIEcodeUtilisateur" => $_COOKIE['codeUtilisateur']; + ); + exit(); + if (isset($_COOKIE['codeUtilisateur'])) { $_SESSION['lang'] = $_COOKIE['lang']; From b9f95af8f038eb304635463e7a9a56ca0700bc24 Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Fri, 2 Jan 2026 22:19:31 +0000 Subject: [PATCH 02/55] a --- Vue/Connexion/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Vue/Connexion/index.php b/Vue/Connexion/index.php index 8200ed6..417c737 100755 --- a/Vue/Connexion/index.php +++ b/Vue/Connexion/index.php @@ -3,8 +3,8 @@ var_dump ( - "COOKIElang" => $_COOKIE['lang']; - "COOKIEcodeUtilisateur" => $_COOKIE['codeUtilisateur']; + "COOKIElang" => $_COOKIE['lang'], + "COOKIEcodeUtilisateur" => $_COOKIE['codeUtilisateur'], ); exit(); From 4d3d2500c88ab12db44f74117df5fbe869d989fc Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Fri, 2 Jan 2026 22:22:11 +0000 Subject: [PATCH 03/55] a --- Vue/Connexion/index.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Vue/Connexion/index.php b/Vue/Connexion/index.php index 417c737..8746512 100755 --- a/Vue/Connexion/index.php +++ b/Vue/Connexion/index.php @@ -3,8 +3,10 @@ var_dump ( + array( "COOKIElang" => $_COOKIE['lang'], "COOKIEcodeUtilisateur" => $_COOKIE['codeUtilisateur'], + ) ); exit(); From 3652d66f6491c7b3359d41d70435114892d54414 Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Fri, 2 Jan 2026 22:25:52 +0000 Subject: [PATCH 04/55] a --- Vue/Connexion/index.php | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/Vue/Connexion/index.php b/Vue/Connexion/index.php index 8746512..c0b5b79 100755 --- a/Vue/Connexion/index.php +++ b/Vue/Connexion/index.php @@ -1,15 +1,6 @@ titre = "INTER-SANTE - Connexion" ; - var_dump - ( - array( - "COOKIElang" => $_COOKIE['lang'], - "COOKIEcodeUtilisateur" => $_COOKIE['codeUtilisateur'], - ) - ); - exit(); - if (isset($_COOKIE['codeUtilisateur'])) { $_SESSION['lang'] = $_COOKIE['lang']; @@ -20,6 +11,17 @@ $_SESSION['lang'] = "fr_FR"; $codeUtilisateur = ""; } + + var_dump + ( + array( + "lang" => $_SESSION['lang'], + "codeUtilisateur" => $codeUtilisateur, + ) + ); + exit(); + + ?> From 15f968f0cbcc904f4119eb6d3d1a002faf74c931 Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Fri, 2 Jan 2026 22:29:48 +0000 Subject: [PATCH 05/55] a --- Vue/Connexion/index.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Vue/Connexion/index.php b/Vue/Connexion/index.php index c0b5b79..10aeacc 100755 --- a/Vue/Connexion/index.php +++ b/Vue/Connexion/index.php @@ -12,16 +12,6 @@ $codeUtilisateur = ""; } - var_dump - ( - array( - "lang" => $_SESSION['lang'], - "codeUtilisateur" => $codeUtilisateur, - ) - ); - exit(); - - ?> From b6cf9927aed1d114fb8ad8bb3361b96bb146a2c5 Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Fri, 2 Jan 2026 22:58:36 +0000 Subject: [PATCH 06/55] a --- Controleur/ControleurConnexion.php | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/Controleur/ControleurConnexion.php b/Controleur/ControleurConnexion.php index d7abbdb..dbfbf68 100644 --- a/Controleur/ControleurConnexion.php +++ b/Controleur/ControleurConnexion.php @@ -156,7 +156,18 @@ require_once 'Framework/Localisation.php'; } // Fin test Licence - + if($utilisateur['extranetActif']<>1) + { + if ($_SESSION['lang']=="en_US") + { + $this->genererVue(array('msgErreur' => 'Extranet disabled!'), "index"); + } + else + { + $this->genererVue(array('msgErreur' => 'Extranet désactivé!'), "index"); + } + exit(); + } if($utilisateur['actif']<>1) { From 9e0b170cabb9ab0f929be3dbd69aabb5059c4cf1 Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Sat, 3 Jan 2026 00:15:26 +0000 Subject: [PATCH 07/55] a --- Controleur/ControleurCreeravenant.php | 89 +++++++++++++++++++++++++++ Js/fonctions.js | 27 +++++++- 2 files changed, 115 insertions(+), 1 deletion(-) create mode 100644 Controleur/ControleurCreeravenant.php diff --git a/Controleur/ControleurCreeravenant.php b/Controleur/ControleurCreeravenant.php new file mode 100644 index 0000000..818cb2f --- /dev/null +++ b/Controleur/ControleurCreeravenant.php @@ -0,0 +1,89 @@ +menuvue = new Menuvueutilisateur(); + $this->menuvue->getMenuVue("Creeravenant"); + + $this->police = new Police(); + $this->typeavenant = new Typeavenant; + } + public function index() { + $idPolice = $_SESSION['idPolice_C']; + $this->police->getContextePoliceId($idPolice); + $police = $this->police->getPoliceId($idPolice); + + $oldCodeTypeAvenant = $police['codeTypeAvenant']; + + $typeavenant = $this->typeavenant->getListeSuite($oldCodeTypeAvenant); + + $this->genererVue(array('police' => $police, 'typeavenant' => $typeavenant)); + } + + + public function enregistrer() + { + $idPolice = $_SESSION['idPolice_C']; + $codeTypeAvenant = $this->requete->getParametreFormulaire("codeTypeAvenant"); + $motifavenant = $this->requete->getParametreFormulaire("motifavenant"); + $dateAvenant = $this->requete->getParametreDate("dateAvenant"); + + $_SESSION['dateAvenant_C'] = $dateAvenant; + $_SESSION['motifavenant_C'] = $motifavenant; + + if($codeTypeAvenant=="RES") + { + $this->rediriger("Ficheresiliation"); + } + else + if($codeTypeAvenant=="RET") + { + $this->rediriger("Ficheretrait"); + } + else + if($codeTypeAvenant=="REN") + { + $dateEcheanceRen = $this->requete->getParametreDate("dateEcheanceRen"); + $_SESSION['dateEcheanceRen_C'] = $dateEcheanceRen; + $this->rediriger("Ficherenouvellement"); + } + else + if($codeTypeAvenant=="ADL") + { + $this->rediriger("Fichelimiteadditionnelle"); + } + else + { + $this->police->creeravenant($idPolice, $codeTypeAvenant, $motifavenant, $dateAvenant); + + $this->police->getContexteAjaxPolice($idPolice); + + if($codeTypeAvenant=="INC") + { + /* + if($_SESSION['codeTypeContrat']=="G") + { + $this->rediriger("Importassure"); + } + else + { + $this->rediriger("Listeadherent"); + } + */ + $this->rediriger("Fichepolice"); + } + else + { + $this->rediriger("Fichepolice"); + } + } + } +} \ No newline at end of file diff --git a/Js/fonctions.js b/Js/fonctions.js index 3bf73e2..c18ba48 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -1348,4 +1348,29 @@ function imprimer_cp(lienEtat) { } }); -} \ No newline at end of file +} + +function creer_avenant() +{ + etat=$("#codeEtatPolice_C").val(); + + if (etat=="RE") + { + v_msg="Attention! Police résiliée!"; + v_msgEng="Warning! Terminated policy!"; + alert_ebene(v_msg, v_msgEng); + + return; + } + + if (etat=="AN") + { + v_msg="Attention! Police annulée!"; + v_msgEng="Warning! Canceled policy!"; + alert_ebene(v_msg, v_msgEng); + + return; + } + + window.location.assign($("#racineWeb" ).val()+"Creeravenant/"); +} From 17988eccccc2730e554e9d89131102c6bea35de3 Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Sat, 3 Jan 2026 00:17:28 +0000 Subject: [PATCH 08/55] a --- Vue/Creeravenant/index.php | 139 +++++++++++++++++++++++++++++++++++++ 1 file changed, 139 insertions(+) create mode 100644 Vue/Creeravenant/index.php diff --git a/Vue/Creeravenant/index.php b/Vue/Creeravenant/index.php new file mode 100644 index 0000000..ec47034 --- /dev/null +++ b/Vue/Creeravenant/index.php @@ -0,0 +1,139 @@ +titre = "INTER-SANTE - Nouvel avenant"; + + if (est_anglophone()) + { + $typeContrat = $police['typeContratEng']; + $typeAvenant = $police['typeAvenantEng']; + $etatPolice = $police['etatPoliceEng']; + } + else + { + $typeContrat = $police['typeContrat']; + $typeAvenant = $police['typeAvenant']; + $etatPolice = $police['etatPolice']; + } + +?> + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Type
+ + " readonly> + + " readonly> + +
(%)
+
+
+ +
+ " /> + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ +
+
+
+ + + +
+ +
+
From 759e8b2a63aea33d05266c75566b4dc8ca6c276e Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Sat, 3 Jan 2026 00:21:35 +0000 Subject: [PATCH 09/55] aa --- Vue/Creeravenant/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Vue/Creeravenant/index.php b/Vue/Creeravenant/index.php index ec47034..df334ef 100644 --- a/Vue/Creeravenant/index.php +++ b/Vue/Creeravenant/index.php @@ -13,9 +13,9 @@ $typeAvenant = $police['typeAvenant']; $etatPolice = $police['etatPolice']; } - + KANE ?> - +KANE
From 1f81203a10de54bf5a555b8b505f2040460cec99 Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Sat, 3 Jan 2026 00:23:04 +0000 Subject: [PATCH 10/55] a --- Vue/gabarit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vue/gabarit.php b/Vue/gabarit.php index de4813e..00ee8cc 100755 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -595,7 +595,7 @@ $activeChildId = $menuData['child']; - + + - + - + - + - + - + - + - + - + - + - + - + - + - +