From 01bb5b1c5d968774c22db921a481dda51b1ae676 Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Mon, 30 Mar 2026 11:52:17 +0000 Subject: [PATCH 01/65] Update .gitignore --- .gitignore | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 640ee527..b0c72464 100644 --- a/.gitignore +++ b/.gitignore @@ -9,4 +9,6 @@ Cron/prod.ini Temp/ Temp *.sh -.ssh/ \ No newline at end of file +.ssh/ +Gettext/ +Gettext \ No newline at end of file From 1a20289f0000a2bb02dafb071f1bda53a24a4f3a Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Mon, 30 Mar 2026 18:15:17 +0000 Subject: [PATCH 02/65] AZE --- Controleur/ControleurAjaxgedassuremvt.php | 20 ++++++ Js/fonctions.js | 36 +++++++++++ Modele/Ged.php | 11 ++++ Vue/Ajaxgedassuremvt/index.php | 78 +++++++++++++++++++++++ Vue/Ajaxmouvementassurevalider/index.php | 33 ++++++++-- 5 files changed, 173 insertions(+), 5 deletions(-) create mode 100644 Controleur/ControleurAjaxgedassuremvt.php create mode 100644 Vue/Ajaxgedassuremvt/index.php diff --git a/Controleur/ControleurAjaxgedassuremvt.php b/Controleur/ControleurAjaxgedassuremvt.php new file mode 100644 index 00000000..e8e00254 --- /dev/null +++ b/Controleur/ControleurAjaxgedassuremvt.php @@ -0,0 +1,20 @@ +ged = new Ged(); + } + + public function index() { + + $idBeneficiaire = $this->requete->getParametreFormulaire("idBeneficiaire"); + $geds = $this->ged->getgedassuremvt($idBeneficiaire); + + $this->genererVueAjax(array('geds' => $geds)); + + } +} diff --git a/Js/fonctions.js b/Js/fonctions.js index 2bdb4a59..3026c1b1 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -44715,3 +44715,39 @@ function recapituler_reincorporer() } }); } + + +function consulter_ged_assure_mvt(idBeneficiaire){ + + $("#div_patienter").html(` +
+
+ Loading... +
+ + Veuillez patienter... / Please wait... + +
+ `); + + donnees = 'idBeneficiaire='+idBeneficiaire; + + $.ajax({ + url: $("#racineWeb").val()+"Ajaxgedassuremvt/", + type : 'post', + data: donnees, + error: function(errorData){ + alert("Erreur : "+errorData); + }, + success: function(data) { + //alert("Success : "+data); + $("#div_patienter").html(''); + $('#div_ged').html(data); + //appliquerDataTable(); + $('#div_ged').modal("show"); + }, + complete: function() { + + } + }); +} \ No newline at end of file diff --git a/Modele/Ged.php b/Modele/Ged.php index 865121b8..c74bdc4a 100644 --- a/Modele/Ged.php +++ b/Modele/Ged.php @@ -240,5 +240,16 @@ class Ged extends Modele { return $resultat->fetchAll(PDO::FETCH_ASSOC); } + + public function getgedassuremvt($idBeneficiaire) + { + $lang = $_SESSION['lang']; + + $sql = 'call sp_get_ged_assure_mvt(?, ?);'; + + $resultat = $this->executerRequete($sql, array($idBeneficiaire, $lang)); + + return $resultat->fetchAll(PDO::FETCH_ASSOC); + } } \ No newline at end of file diff --git a/Vue/Ajaxgedassuremvt/index.php b/Vue/Ajaxgedassuremvt/index.php new file mode 100644 index 00000000..18e32468 --- /dev/null +++ b/Vue/Ajaxgedassuremvt/index.php @@ -0,0 +1,78 @@ + + \ No newline at end of file diff --git a/Vue/Ajaxmouvementassurevalider/index.php b/Vue/Ajaxmouvementassurevalider/index.php index 1d718943..7064e04d 100644 --- a/Vue/Ajaxmouvementassurevalider/index.php +++ b/Vue/Ajaxmouvementassurevalider/index.php @@ -1,4 +1,5 @@
+
@@ -6,6 +7,7 @@ + @@ -25,6 +27,9 @@ $idMvtTemp = $this->nettoyer($mvt['id']); $sensMvt = $mvt['sensMouvement']; // On suppose que '0' = Entrée, '1' = Sortie $libelleSensMouvement = est_anglophone() ? $mvt['libelleSensMouvementEng'] : $mvt['libelleSensMouvement']; + + $nombreGed = $mvt['nombreGed']; + $idBeneficiaire = $mvt['idBeneficiaire']; ?> + + @@ -78,6 +98,9 @@
@@ -33,11 +38,11 @@ - + - + @@ -56,6 +61,17 @@ nettoyer($mvt['codeLienParente']) ?> + '0'): ?> + + + - + +
nettoyer($mvt['dateSysteme'])) ?>
nettoyer($mvt['codeUtilisateur']) ?>
@@ -66,10 +82,14 @@
- - + '0'): ?> + + + + + - + -
+ + + \ No newline at end of file From 33fbab75688caf5d29c6737c67b98c1e372ec582 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 09:51:22 +0000 Subject: [PATCH 11/65] ser --- Vue/Usersrhclient/index.php | 63 +++++++++++++++---------------------- 1 file changed, 26 insertions(+), 37 deletions(-) diff --git a/Vue/Usersrhclient/index.php b/Vue/Usersrhclient/index.php index 3b6803a0..9df65a51 100755 --- a/Vue/Usersrhclient/index.php +++ b/Vue/Usersrhclient/index.php @@ -4,12 +4,12 @@ $nomClient = $this->nettoyer($client['nom']); ?> - + -
-

+
+

-
+
@@ -20,17 +20,17 @@
-
+
- +
- + - + @@ -69,48 +69,37 @@ - + +
- - -
- - -
+
+ + +
- -
- - \ No newline at end of file From e914cc89300be6630fae02d8f5c948ac80652991 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 09:54:12 +0000 Subject: [PATCH 12/65] ddf --- Vue/Usersrhclient/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Vue/Usersrhclient/index.php b/Vue/Usersrhclient/index.php index 9df65a51..14f71f2b 100755 --- a/Vue/Usersrhclient/index.php +++ b/Vue/Usersrhclient/index.php @@ -22,8 +22,8 @@
- - +
+ From 360510a45d8e67c71a111ba66d215ed5a0af363a Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 09:54:51 +0000 Subject: [PATCH 13/65] de --- Vue/Usersrhclient/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vue/Usersrhclient/index.php b/Vue/Usersrhclient/index.php index 14f71f2b..286004e7 100755 --- a/Vue/Usersrhclient/index.php +++ b/Vue/Usersrhclient/index.php @@ -21,7 +21,7 @@
-
+
From 7da3ffe628510325967eb9a6756a71b117874510 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 09:55:46 +0000 Subject: [PATCH 14/65] der --- Vue/Usersrhclient/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vue/Usersrhclient/index.php b/Vue/Usersrhclient/index.php index 286004e7..cde82236 100755 --- a/Vue/Usersrhclient/index.php +++ b/Vue/Usersrhclient/index.php @@ -24,7 +24,7 @@
- + From 67676b2cc2d567f5fc4e05daed27cf71097da95e Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 09:58:31 +0000 Subject: [PATCH 15/65] dze --- Vue/Usersrhclient/index.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Vue/Usersrhclient/index.php b/Vue/Usersrhclient/index.php index cde82236..366a2be4 100755 --- a/Vue/Usersrhclient/index.php +++ b/Vue/Usersrhclient/index.php @@ -69,12 +69,12 @@ @@ -51,13 +51,13 @@ From b796a15fdd0387dd6bcd9bcb14831418f3cb86ce Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 10:41:59 +0000 Subject: [PATCH 25/65] qaze --- Vue/Ficheuserrhclient/index.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Vue/Ficheuserrhclient/index.php b/Vue/Ficheuserrhclient/index.php index 71248965..31deae69 100644 --- a/Vue/Ficheuserrhclient/index.php +++ b/Vue/Ficheuserrhclient/index.php @@ -50,13 +50,14 @@ - + - - +
- - @@ -82,7 +82,7 @@ - - - From cc1ca5f75abc929d59614be08914172d92627ab8 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 10:03:30 +0000 Subject: [PATCH 18/65] sze --- Vue/Usersrhclient/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Vue/Usersrhclient/index.php b/Vue/Usersrhclient/index.php index 1d9111cc..7a0e3cca 100755 --- a/Vue/Usersrhclient/index.php +++ b/Vue/Usersrhclient/index.php @@ -21,8 +21,8 @@ - - + + From 91dc975517b2d7e3a5a0028a9c557738b2db76ae Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 10:04:34 +0000 Subject: [PATCH 19/65] det --- Vue/Usersrhclient/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Vue/Usersrhclient/index.php b/Vue/Usersrhclient/index.php index 7a0e3cca..64e30830 100755 --- a/Vue/Usersrhclient/index.php +++ b/Vue/Usersrhclient/index.php @@ -8,7 +8,8 @@

:

-
+ +
From 92c4abcace6b54b2ac0d2c810d314f07c27ce74c Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 10:13:56 +0000 Subject: [PATCH 20/65] daz --- Js/fonctions.js | 90 ++++++++++++++++++++++++++++++++++++- Modele/Client.php | 4 +- Vue/Usersrhclient/index.php | 8 ++-- 3 files changed, 94 insertions(+), 8 deletions(-) diff --git a/Js/fonctions.js b/Js/fonctions.js index 3026c1b1..9757f14f 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -44750,4 +44750,92 @@ function consulter_ged_assure_mvt(idBeneficiaire){ } }); -} \ No newline at end of file +} + +function desactiver_user_rh_client(codeUtilisateur) +{ + v_msg="Confirmez-vous la désactivation?"; + v_msgEng="Do you confirm the deactivation?"; + + confirm_ebene(v_msg, v_msgEng) + .then((isConfirmed) => { + if (isConfirmed) { + // L'utilisateur a confirmé + donnees = "codeUtilisateur="+codeUtilisateur; + + $.ajax({ + url: $("#racineWeb").val()+"Ajaxuserrhclient/desactiver/", + type : 'post', + data: donnees, + error: function(errorData) { + }, + success: function(data) { + }, + complete: function() { + v_msg="Opération effectuée avec succès!"; + v_msgEng="Operation successfully completed"; + + alert_ebene(v_msg, v_msgEng).then(() => { + // Ce code ne s’exécute qu’après clic sur OK + users_rh_client(); + }); + } + }); + return; + } else { + // L'utilisateur a annulé + v_msg="Opération annulée!"; + v_msgEng="Operation canceled!"; + + alert_ebene(v_msg, v_msgEng).then(() => { + // Ce code ne s’exécute qu’après clic sur OK + return; + }); + } + }); + +} + +function activer_user_rh_client(codeUtilisateur) +{ + v_msg="Confirmez-vous l\'activation?"; + v_msgEng="Do you confirm the activation?"; + + confirm_ebene(v_msg, v_msgEng) + .then((isConfirmed) => { + if (isConfirmed) { + // L'utilisateur a confirmé + donnees = "codeUtilisateur="+codeUtilisateur; + + $.ajax({ + url: $("#racineWeb").val()+"Ajaxuserrhclient/activer/", + type : 'post', + data: donnees, + error: function(errorData) { + }, + success: function(data) { + }, + complete: function() { + v_msg="Opération effectuée avec succès!"; + v_msgEng="Operation successfully completed"; + + alert_ebene(v_msg, v_msgEng).then(() => { + // Ce code ne s’exécute qu’après clic sur OK + users_rh_client(); + }); + } + }); + return; + } else { + // L'utilisateur a annulé + v_msg="Opération annulée!"; + v_msgEng="Operation canceled!"; + + alert_ebene(v_msg, v_msgEng).then(() => { + // Ce code ne s’exécute qu’après clic sur OK + return; + }); + } + }); + +} \ No newline at end of file diff --git a/Modele/Client.php b/Modele/Client.php index 9c7ed7ef..b9320e6e 100644 --- a/Modele/Client.php +++ b/Modele/Client.php @@ -357,7 +357,7 @@ class Client extends Modele { $this->executerRequete($sql, array($codeUtilisateur)); } - public function desactiver($codeUtilisateur) + public function desactiver($codeUtilisateur) { $sql = 'call sp_c_desactiver_utilisateur_rh_client(?)'; @@ -371,7 +371,7 @@ class Client extends Modele { $this->executerRequete($sql, array($codeUtilisateur)); } - public function existelogin($codeUtilisateur) { + public function existelogin($codeUtilisateur) { $sql = 'select id FROM c_utilisateur WHERE (codeUtilisateur=?)'; $resultat = $this->executerRequete($sql, array($codeUtilisateur)); return ($resultat->rowCount() > 0); diff --git a/Vue/Usersrhclient/index.php b/Vue/Usersrhclient/index.php index 64e30830..6fe3c728 100755 --- a/Vue/Usersrhclient/index.php +++ b/Vue/Usersrhclient/index.php @@ -79,18 +79,16 @@
From 4c270f1c31cca36cad695f9a8965feffbef40b4e Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 10:24:23 +0000 Subject: [PATCH 21/65] sert --- Controleur/ControleurFicheuserrhclient.php | 45 ++++++++++ Js/fonctions.js | 5 ++ Vue/Ficheuserrhclient/index.php | 100 +++++++++++++++++++++ 3 files changed, 150 insertions(+) create mode 100644 Controleur/ControleurFicheuserrhclient.php create mode 100644 Vue/Ficheuserrhclient/index.php diff --git a/Controleur/ControleurFicheuserrhclient.php b/Controleur/ControleurFicheuserrhclient.php new file mode 100644 index 00000000..f2e36a10 --- /dev/null +++ b/Controleur/ControleurFicheuserrhclient.php @@ -0,0 +1,45 @@ +menuvue = new Menuvueutilisateur(); + $this->menuvue->getMenuVue("Ficheuserrhclient"); + + $this->client = new Client(); + $this->oui_non = new Ouinon(); + $this->langue = new Langue(); + } + + + public function index() + { + $idUtilisateur = $this->requete->getParametreFormulaire("id"); + $user_actif = $this->oui_non->getListe(); + $user_actVisible = $this->oui_non->getListe(); + $langue = $this->langue->getListe(); + $user_AffectionVisible = $this->oui_non->getListe(); + + $user_rh = $this->client->getunuserrhclient($idUtilisateur); + $user_profil = $this->client->getListeProfilRh(); + + $this->genererVue(array( + 'user_rh' => $user_rh, + 'user_actif' => $user_actif, + 'user_actVisible' => $user_actVisible, + 'langue' => $langue, + 'user_AffectionVisible' => $user_AffectionVisible, + 'user_profil' => $user_profil + )); + } +} \ No newline at end of file diff --git a/Js/fonctions.js b/Js/fonctions.js index 9757f14f..97691a97 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -44838,4 +44838,9 @@ function activer_user_rh_client(codeUtilisateur) } }); +} + +function afficher_users_client_id(idUtilisateur) +{ + window.location.assign($("#racineWeb" ).val()+"Ficheuserrhclient/"+idUtilisateur+"/"); } \ No newline at end of file diff --git a/Vue/Ficheuserrhclient/index.php b/Vue/Ficheuserrhclient/index.php new file mode 100644 index 00000000..d2ddda11 --- /dev/null +++ b/Vue/Ficheuserrhclient/index.php @@ -0,0 +1,100 @@ +titre = "INTER SANTE - Modifier Utilisateur"; + + $idClient = $this->nettoyer($user_rh['idClient']); + $idUtilisateur = $user_rh['id']; + $codeUtilisateur = $user_rh['codeUtilisateur']; + $actif = $user_rh['actif']; + $codeProfil = $user_rh['codeProfil']; + $codeLangue = $user_rh['codeLangue']; +?> + +
+ + + +

+ +
+
+ +
+
+ +
+
+
+
+
+
+ +
+
+
+ + +
+
+ + +
+
+ +
+ + +
+
+
+ +
+ + +
+
+
+ +
+
+
+ +
+
+
+ + +
+
+ + +
+
+ + +
+
+ +
+
+ + +
+
+ +
+
+
From 86061bfa301b592681f1450587b86da47689b5cd Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 10:25:36 +0000 Subject: [PATCH 22/65] sae --- Vue/gabarit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vue/gabarit.php b/Vue/gabarit.php index 2fbc3db6..d2e98000 100644 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -263,7 +263,7 @@ controlerPlafondBeneficiaire : - + From 138b55289b5032a59c200db833e90896f1a1fe3e Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 10:38:27 +0000 Subject: [PATCH 23/65] ert --- Vue/Ficheuserrhclient/index.php | 129 ++++++++++++-------------------- 1 file changed, 49 insertions(+), 80 deletions(-) diff --git a/Vue/Ficheuserrhclient/index.php b/Vue/Ficheuserrhclient/index.php index d2ddda11..51c887c0 100644 --- a/Vue/Ficheuserrhclient/index.php +++ b/Vue/Ficheuserrhclient/index.php @@ -13,88 +13,57 @@ -

+ -
-
- -
-
+
- -
+ + + + -
-
-
-
-
-
- -
-
-
- - -
-
- - -
-
- -
- - -
-
-
- -
- - -
-
-
+
+ + -
-
-
- -
-
-
- - -
-
- - -
-
- - -
-
+ + + -
-
- - -
-
- - - + + + + + + + + + + + + + + + + + + +
+ + + +
E-mail
+ + + +
+ + \ No newline at end of file From 9aa41e82550c5fca252609bc08b7189c7ee3d4c9 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 10:41:00 +0000 Subject: [PATCH 24/65] azert --- Vue/Ficheuserrhclient/index.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Vue/Ficheuserrhclient/index.php b/Vue/Ficheuserrhclient/index.php index 51c887c0..71248965 100644 --- a/Vue/Ficheuserrhclient/index.php +++ b/Vue/Ficheuserrhclient/index.php @@ -28,14 +28,14 @@
- -
- -
+ + From 529103d2b31885c4fe45d233226b27f3beba9546 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 11:04:13 +0000 Subject: [PATCH 26/65] ze --- Js/fonctions.js | 138 ++++++++++++++++++++++++++++++++ Vue/Ficheuserrhclient/index.php | 13 +++ 2 files changed, 151 insertions(+) diff --git a/Js/fonctions.js b/Js/fonctions.js index 97691a97..eeb20ee1 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -44843,4 +44843,142 @@ function activer_user_rh_client(codeUtilisateur) function afficher_users_client_id(idUtilisateur) { window.location.assign($("#racineWeb" ).val()+"Ficheuserrhclient/"+idUtilisateur+"/"); +} + +function retour_a_users_rh_client() +{ + window.location.assign($("#racineWeb" ).val()+"Usersrhclient/"); +} + +function enregistrer_modif_user_rh() +{ + idUtilisateur = $("#idUtilisateur").val(); + nom = $("#nom").val(); + prenoms = $("#prenoms").val(); + actif = $("#actif").val(); + actVisible = "0"; + codeLangue = $("#codeLangueUser").val(); + AffectionVisible = "0"; + + telephone = $("#telephone").val(); + email = $("#email").val(); + + codeProfil = $("#codeProfil").val(); + + + if (nom<=" ") + { + v_msg="Veuillez saisir le nom!"; + v_msgEng="Please enter the name!"; + + alert_ebene(v_msg, v_msgEng).then(() => { + // Ce code ne s’exécute qu’après clic sur OK + + return; + }); + + + $("#nom").focus(); + return; + } + + if (actif<=" ") + { + v_msg="Utilisateur actif oui ou non?"; + v_msgEng="Is the user active yes or no?"; + + alert_ebene(v_msg, v_msgEng).then(() => { + // Ce code ne s’exécute qu’après clic sur OK + + return; + }); + + $("#actif").focus(); + return; + } + + if(codeLangue<=" ") + { + v_msg="Veuillez indiquer la langue!"; + v_msgEng="Please select the language"; + + alert_ebene(v_msg, v_msgEng).then(() => { + // Ce code ne s’exécute qu’après clic sur OK + + return; + }); + + $("#codeLangueUser").focus(); + return; + } + + + if (codeProfil<=" ") + { + v_msg="Le profil utilisateur est obligatoire!"; + v_msgEng="The user profile is required!"; + + alert_ebene(v_msg, v_msgEng).then(() => { + // Ce code ne s’exécute qu’après clic sur OK + + return; + }); + + $("#codeProfil").focus(); + return; + } + + + if(!verifMailValeur(email)) + { + v_msg="Veuillez revoir l'adresse mail!"; + v_msgEng="Please review the email address!"; + + alert_ebene(v_msg, v_msgEng).then(() => { + // Ce code ne s’exécute qu’après clic sur OK + + return; + }); + + $("#email").focus(); + return; + } + + donnees = 'idUtilisateur=' + idUtilisateur; + donnees += '&nom=' + nom; + donnees += '&prenoms=' + prenoms; + donnees += '&actif=' + actif; + donnees += '&actVisible=' + actVisible; + donnees += '&codeLangue=' + codeLangue; + donnees += '&codeProfil=' + codeProfil; + donnees += '&AffectionVisible=' + AffectionVisible; + donnees += '&telephone='+telephone+'&email='+email; + + v_msg="Confirmez-vous ces modifications?"; + v_msgEng="Do you confirm these modifications?"; + + + confirm_ebene(v_msg, v_msgEng) + .then((isConfirmed) => { + if (isConfirmed) { + // L'utilisateur a confirmé + $.ajax({ + url: $("#racineWeb").val()+"Ajaxuserrhclient/enregistrermodifuser/", + type : 'post', + data: donnees, + error: function(errorData) { + }, + success: function(data) { + //$('#div_test_gabarit').html(data); + }, + complete: function() { + retour_a_users_rh_client(); + } + }); + } else { + // L'utilisateur a annulé + console.log("Confirmation refusée"); + } + }); + } \ No newline at end of file diff --git a/Vue/Ficheuserrhclient/index.php b/Vue/Ficheuserrhclient/index.php index 31deae69..f2b62e96 100644 --- a/Vue/Ficheuserrhclient/index.php +++ b/Vue/Ficheuserrhclient/index.php @@ -12,9 +12,22 @@
+ +
+ + + + + + + + + +
+ From d2fd0a0fcf802d78679258ecb2ae0a557f2e6e6e Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 11:05:30 +0000 Subject: [PATCH 27/65] de --- Vue/Ficheuserrhclient/index.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Vue/Ficheuserrhclient/index.php b/Vue/Ficheuserrhclient/index.php index f2b62e96..faffc131 100644 --- a/Vue/Ficheuserrhclient/index.php +++ b/Vue/Ficheuserrhclient/index.php @@ -5,6 +5,9 @@ $idUtilisateur = $user_rh['id']; $codeUtilisateur = $user_rh['codeUtilisateur']; $actif = $user_rh['actif']; + + var_dump($actif); + $codeProfil = $user_rh['codeProfil']; $codeLangue = $user_rh['codeLangue']; ?> From 0100329310e0efbd08ca12b5bfe098792b573f72 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 11:06:26 +0000 Subject: [PATCH 28/65] se --- Vue/Ficheuserrhclient/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vue/Ficheuserrhclient/index.php b/Vue/Ficheuserrhclient/index.php index faffc131..8cffef4d 100644 --- a/Vue/Ficheuserrhclient/index.php +++ b/Vue/Ficheuserrhclient/index.php @@ -20,7 +20,7 @@
- + From 4716b5246aa51f43336ce1abb77988d8cd7970f2 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 11:07:29 +0000 Subject: [PATCH 29/65] aq --- Vue/Ficheuserrhclient/index.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Vue/Ficheuserrhclient/index.php b/Vue/Ficheuserrhclient/index.php index 8cffef4d..1d8993a4 100644 --- a/Vue/Ficheuserrhclient/index.php +++ b/Vue/Ficheuserrhclient/index.php @@ -17,9 +17,9 @@ - + + -
@@ -29,7 +29,8 @@ -
+
+
From 3314909f4d012ba1a996056fd0e74adfe25007d3 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 11:08:32 +0000 Subject: [PATCH 30/65] z --- Vue/gabarit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vue/gabarit.php b/Vue/gabarit.php index d2e98000..607f153f 100644 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -263,7 +263,7 @@ controlerPlafondBeneficiaire : - + From 5714bca00ea9065c979cb1441c19f0cca06d1c8f Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 11:21:27 +0000 Subject: [PATCH 31/65] qse --- Js/fonctions.js | 190 +++++++++++++++--------------------------------- Vue/gabarit.php | 2 +- 2 files changed, 61 insertions(+), 131 deletions(-) diff --git a/Js/fonctions.js b/Js/fonctions.js index eeb20ee1..ac2ec900 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -44757,43 +44757,29 @@ function desactiver_user_rh_client(codeUtilisateur) v_msg="Confirmez-vous la désactivation?"; v_msgEng="Do you confirm the deactivation?"; - confirm_ebene(v_msg, v_msgEng) - .then((isConfirmed) => { - if (isConfirmed) { - // L'utilisateur a confirmé - donnees = "codeUtilisateur="+codeUtilisateur; + if(confirm_ebene(v_msg, v_msgEng)) + { + donnees = "codeUtilisateur="+codeUtilisateur; - $.ajax({ - url: $("#racineWeb").val()+"Ajaxuserrhclient/desactiver/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; + $.ajax({ + url: $("#racineWeb").val()+"Ajaxuserrhclient/desactiver/", + type : 'post', + data: donnees, + error: function(errorData) { + }, + success: function(data) { + }, + complete: function() { + v_msg="Opération effectuée avec succès!"; + v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng).then(() => { - // Ce code ne s’exécute qu’après clic sur OK - users_rh_client(); - }); - } - }); - return; - } else { - // L'utilisateur a annulé - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; + alert_ebene(v_msg, v_msgEng); + + users_rh_client(); + } + }); + } - alert_ebene(v_msg, v_msgEng).then(() => { - // Ce code ne s’exécute qu’après clic sur OK - return; - }); - } - }); - } function activer_user_rh_client(codeUtilisateur) @@ -44801,43 +44787,28 @@ function activer_user_rh_client(codeUtilisateur) v_msg="Confirmez-vous l\'activation?"; v_msgEng="Do you confirm the activation?"; - confirm_ebene(v_msg, v_msgEng) - .then((isConfirmed) => { - if (isConfirmed) { - // L'utilisateur a confirmé - donnees = "codeUtilisateur="+codeUtilisateur; + if(confirm_ebene(v_msg, v_msgEng)) + { + donnees = "codeUtilisateur="+codeUtilisateur; - $.ajax({ - url: $("#racineWeb").val()+"Ajaxuserrhclient/activer/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - }, - complete: function() { - v_msg="Opération effectuée avec succès!"; - v_msgEng="Operation successfully completed"; + $.ajax({ + url: $("#racineWeb").val()+"Ajaxuserrhclient/activer/", + type : 'post', + data: donnees, + error: function(errorData) { + }, + success: function(data) { + }, + complete: function() { + v_msg="Opération effectuée avec succès!"; + v_msgEng="Operation successfully completed"; - alert_ebene(v_msg, v_msgEng).then(() => { - // Ce code ne s’exécute qu’après clic sur OK - users_rh_client(); - }); - } - }); - return; - } else { - // L'utilisateur a annulé - v_msg="Opération annulée!"; - v_msgEng="Operation canceled!"; + alert_ebene(v_msg, v_msgEng); - alert_ebene(v_msg, v_msgEng).then(() => { - // Ce code ne s’exécute qu’après clic sur OK - return; - }); - } - }); - + users_rh_client(); + } + }); + } } function afficher_users_client_id(idUtilisateur) @@ -44865,48 +44836,23 @@ function enregistrer_modif_user_rh() codeProfil = $("#codeProfil").val(); - if (nom<=" ") { v_msg="Veuillez saisir le nom!"; v_msgEng="Please enter the name!"; - alert_ebene(v_msg, v_msgEng).then(() => { - // Ce code ne s’exécute qu’après clic sur OK - - return; - }); - - + alert_ebene(v_msg, v_msgEng); $("#nom").focus(); return; } - if (actif<=" ") - { - v_msg="Utilisateur actif oui ou non?"; - v_msgEng="Is the user active yes or no?"; - - alert_ebene(v_msg, v_msgEng).then(() => { - // Ce code ne s’exécute qu’après clic sur OK - - return; - }); - - $("#actif").focus(); - return; - } - + if(codeLangue<=" ") { v_msg="Veuillez indiquer la langue!"; v_msgEng="Please select the language"; - alert_ebene(v_msg, v_msgEng).then(() => { - // Ce code ne s’exécute qu’après clic sur OK - - return; - }); + alert_ebene(v_msg, v_msgEng); $("#codeLangueUser").focus(); return; @@ -44918,11 +44864,7 @@ function enregistrer_modif_user_rh() v_msg="Le profil utilisateur est obligatoire!"; v_msgEng="The user profile is required!"; - alert_ebene(v_msg, v_msgEng).then(() => { - // Ce code ne s’exécute qu’après clic sur OK - - return; - }); + alert_ebene(v_msg, v_msgEng); $("#codeProfil").focus(); return; @@ -44934,11 +44876,7 @@ function enregistrer_modif_user_rh() v_msg="Veuillez revoir l'adresse mail!"; v_msgEng="Please review the email address!"; - alert_ebene(v_msg, v_msgEng).then(() => { - // Ce code ne s’exécute qu’après clic sur OK - - return; - }); + alert_ebene(v_msg, v_msgEng); $("#email").focus(); return; @@ -44957,28 +44895,20 @@ function enregistrer_modif_user_rh() v_msg="Confirmez-vous ces modifications?"; v_msgEng="Do you confirm these modifications?"; - - confirm_ebene(v_msg, v_msgEng) - .then((isConfirmed) => { - if (isConfirmed) { - // L'utilisateur a confirmé - $.ajax({ - url: $("#racineWeb").val()+"Ajaxuserrhclient/enregistrermodifuser/", - type : 'post', - data: donnees, - error: function(errorData) { - }, - success: function(data) { - //$('#div_test_gabarit').html(data); - }, - complete: function() { - retour_a_users_rh_client(); - } - }); - } else { - // L'utilisateur a annulé - console.log("Confirmation refusée"); - } - }); - + if(confirm_ebene(v_msg, v_msgEng)) + { + $.ajax({ + url: $("#racineWeb").val()+"Ajaxuserrhclient/enregistrermodifuser/", + type : 'post', + data: donnees, + error: function(errorData) { + }, + success: function(data) { + //$('#div_test_gabarit').html(data); + }, + complete: function() { + retour_a_users_rh_client(); + } + }); + } } \ No newline at end of file diff --git a/Vue/gabarit.php b/Vue/gabarit.php index 607f153f..0324cb1c 100644 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -263,7 +263,7 @@ controlerPlafondBeneficiaire : - + From 474e4af517a3bcc33d4b33e1d8b0ec58e650de00 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 11:21:53 +0000 Subject: [PATCH 32/65] zae --- Vue/gabarit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vue/gabarit.php b/Vue/gabarit.php index 0324cb1c..619e26c9 100644 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -263,7 +263,7 @@ controlerPlafondBeneficiaire : - + From b1f3600a6a8d6364a348f13712d7776e82c2260c Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 11:23:41 +0000 Subject: [PATCH 33/65] eze --- Js/fonctions.js | 4 ++-- Vue/gabarit.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Js/fonctions.js b/Js/fonctions.js index ac2ec900..d8383430 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -44904,10 +44904,10 @@ function enregistrer_modif_user_rh() error: function(errorData) { }, success: function(data) { - //$('#div_test_gabarit').html(data); + $('#div_test_gabarit').html(data); }, complete: function() { - retour_a_users_rh_client(); + //retour_a_users_rh_client(); } }); } diff --git a/Vue/gabarit.php b/Vue/gabarit.php index 619e26c9..a3a22e72 100644 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -263,7 +263,7 @@ controlerPlafondBeneficiaire : - + From ef471e05cce962300e5c4a2b00807d8787e5f05b Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 11:26:06 +0000 Subject: [PATCH 34/65] der --- Js/fonctions.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Js/fonctions.js b/Js/fonctions.js index d8383430..c88cedb5 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -44823,6 +44823,8 @@ function retour_a_users_rh_client() function enregistrer_modif_user_rh() { + debugger; + idUtilisateur = $("#idUtilisateur").val(); nom = $("#nom").val(); prenoms = $("#prenoms").val(); From 22b590243aecb7ce80a9cca695624a4dd96f6acc Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 11:26:17 +0000 Subject: [PATCH 35/65] dert --- Vue/gabarit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vue/gabarit.php b/Vue/gabarit.php index a3a22e72..34edbbc5 100644 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -263,7 +263,7 @@ controlerPlafondBeneficiaire : - + From 3c64e23681c4875a1bf5dfab1b3a24dd7a3c26ef Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 11:33:47 +0000 Subject: [PATCH 36/65] saze --- Vue/Ficheuserrhclient/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vue/Ficheuserrhclient/index.php b/Vue/Ficheuserrhclient/index.php index 1d8993a4..ac41d410 100644 --- a/Vue/Ficheuserrhclient/index.php +++ b/Vue/Ficheuserrhclient/index.php @@ -15,7 +15,7 @@
- + From 2007d58bdf63132af1a702b7ed2e3bfdafd77dae Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 11:35:17 +0000 Subject: [PATCH 37/65] azerty --- Js/fonctions.js | 6 +++--- Vue/Ficheuserrhclient/index.php | 3 +-- Vue/gabarit.php | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/Js/fonctions.js b/Js/fonctions.js index c88cedb5..2ffd024b 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -44824,7 +44824,7 @@ function retour_a_users_rh_client() function enregistrer_modif_user_rh() { debugger; - + idUtilisateur = $("#idUtilisateur").val(); nom = $("#nom").val(); prenoms = $("#prenoms").val(); @@ -44906,10 +44906,10 @@ function enregistrer_modif_user_rh() error: function(errorData) { }, success: function(data) { - $('#div_test_gabarit').html(data); + //$('#div_test_gabarit').html(data); }, complete: function() { - //retour_a_users_rh_client(); + retour_a_users_rh_client(); } }); } diff --git a/Vue/Ficheuserrhclient/index.php b/Vue/Ficheuserrhclient/index.php index ac41d410..532eb0b5 100644 --- a/Vue/Ficheuserrhclient/index.php +++ b/Vue/Ficheuserrhclient/index.php @@ -6,8 +6,7 @@ $codeUtilisateur = $user_rh['codeUtilisateur']; $actif = $user_rh['actif']; - var_dump($actif); - + //var_dump($actif); $codeProfil = $user_rh['codeProfil']; $codeLangue = $user_rh['codeLangue']; ?> diff --git a/Vue/gabarit.php b/Vue/gabarit.php index 34edbbc5..228ed1f3 100644 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -263,7 +263,7 @@ controlerPlafondBeneficiaire : - + From b69601e4cb3a315d6714c59be1c34133eb6172a7 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 11:40:07 +0000 Subject: [PATCH 38/65] ser --- Js/fonctions.js | 5 +++-- Vue/gabarit.php | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Js/fonctions.js b/Js/fonctions.js index 2ffd024b..5a137d7b 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -44775,7 +44775,7 @@ function desactiver_user_rh_client(codeUtilisateur) alert_ebene(v_msg, v_msgEng); - users_rh_client(); + retour_a_users_rh_client(); } }); } @@ -44798,6 +44798,7 @@ function activer_user_rh_client(codeUtilisateur) error: function(errorData) { }, success: function(data) { + }, complete: function() { v_msg="Opération effectuée avec succès!"; @@ -44805,7 +44806,7 @@ function activer_user_rh_client(codeUtilisateur) alert_ebene(v_msg, v_msgEng); - users_rh_client(); + retour_a_users_rh_client(); } }); } diff --git a/Vue/gabarit.php b/Vue/gabarit.php index 228ed1f3..6e752a8d 100644 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -263,7 +263,7 @@ controlerPlafondBeneficiaire : - + From 29741f056da49d83e14347db1c3f738a869a9e63 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 11:44:37 +0000 Subject: [PATCH 39/65] azerez --- Js/fonctions.js | 30 ++++++++++++++++++++++++++++++ Vue/gabarit.php | 2 +- 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/Js/fonctions.js b/Js/fonctions.js index 5a137d7b..0b3de90b 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -44910,6 +44910,36 @@ function enregistrer_modif_user_rh() //$('#div_test_gabarit').html(data); }, complete: function() { + retour_a_users_rh_client(); + } + }); + } +} + +function reinitpaswd_user_rh(codeUtilisateur) +{ + v_msg="Confirmez-vous la réinitialisation?"; + v_msgEng="Do you confirm the reset?"; + + if(confirm_ebene(v_msg, v_msgEng)) + { + donnees = "codeUtilisateur="+codeUtilisateur; + + $.ajax({ + url: $("#racineWeb").val()+"Ajaxuserrhclient/reinitpaswd/", + + type : 'post', + data: donnees, + error: function(errorData) { + }, + success: function(data) { + }, + complete: function() { + v_msg="Opération effectuée avec succès!"; + v_msgEng="Operation successfully completed"; + + alert_ebene(v_msg, v_msgEng); + retour_a_users_rh_client(); } }); diff --git a/Vue/gabarit.php b/Vue/gabarit.php index 6e752a8d..d8b48f6e 100644 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -263,7 +263,7 @@ controlerPlafondBeneficiaire : - + From d0bc824ab82aa36921a2f885a61dd0f296361790 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 11:47:15 +0000 Subject: [PATCH 40/65] der --- Vue/Usersrhclient/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vue/Usersrhclient/index.php b/Vue/Usersrhclient/index.php index 6fe3c728..dd7d9ae4 100755 --- a/Vue/Usersrhclient/index.php +++ b/Vue/Usersrhclient/index.php @@ -86,7 +86,7 @@
- From 09cd39ad7c53730c40fd9d463408594f604e0245 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 11:48:03 +0000 Subject: [PATCH 41/65] ert --- Vue/Usersrhclient/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vue/Usersrhclient/index.php b/Vue/Usersrhclient/index.php index dd7d9ae4..e6dc07b7 100755 --- a/Vue/Usersrhclient/index.php +++ b/Vue/Usersrhclient/index.php @@ -86,7 +86,7 @@ - From 1f09abff72c61e7a125cd5f54924d1d8b0231364 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 11:50:49 +0000 Subject: [PATCH 42/65] sze --- Vue/Usersrhclient/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vue/Usersrhclient/index.php b/Vue/Usersrhclient/index.php index e6dc07b7..660880fd 100755 --- a/Vue/Usersrhclient/index.php +++ b/Vue/Usersrhclient/index.php @@ -86,7 +86,7 @@ - From afe85094c929d21f6070f49032d7d3db1d2c6009 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 12:21:29 +0000 Subject: [PATCH 43/65] aze --- Controleur/ControleurRoles.php | 22 ++++++++ Vue/Roles/index.php | 95 ++++++++++++++++++++++++++++++++++ 2 files changed, 117 insertions(+) create mode 100644 Controleur/ControleurRoles.php create mode 100644 Vue/Roles/index.php diff --git a/Controleur/ControleurRoles.php b/Controleur/ControleurRoles.php new file mode 100644 index 00000000..8d878a84 --- /dev/null +++ b/Controleur/ControleurRoles.php @@ -0,0 +1,22 @@ +menuvue = new Menuvueutilisateur(); + $this->menuvue->getMenuVue('Roles'); + + $this->utilisateur = new Utilisateur(); + } + public function index() + { + $profil = $this->utilisateur->getListeProfilCode(); + + $this->genererVue(array('profil' => $profil)); + } +} \ No newline at end of file diff --git a/Vue/Roles/index.php b/Vue/Roles/index.php new file mode 100644 index 00000000..5166672b --- /dev/null +++ b/Vue/Roles/index.php @@ -0,0 +1,95 @@ +titre = "INTER SANTE - Configuration des Accès"; ?> + +
+ + + +
+
+
+
+
+ +
+ + + + +
+
+
+
+
+ + + + + +
+ + + +
+
+
+
+
+
+ +
+
+ +

+

+
+
+ +
+ + \ No newline at end of file From b2a61e2594e55a1df9ec1d603b7573ce9075f6b3 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 12:31:13 +0000 Subject: [PATCH 44/65] sar --- Vue/Usersrhclient/index.php | 127 +++++++++++++++++++++++------------- 1 file changed, 81 insertions(+), 46 deletions(-) diff --git a/Vue/Usersrhclient/index.php b/Vue/Usersrhclient/index.php index 660880fd..491b0581 100755 --- a/Vue/Usersrhclient/index.php +++ b/Vue/Usersrhclient/index.php @@ -4,30 +4,42 @@ $nomClient = $this->nettoyer($client['nom']); ?> - + -
-

:

+
+ +

+ + +

-
-
- - - -
-
+
+ +
+
+
+

+ +

+
+
+ + + +
+
+
-
-
- +
+
- - - + + + - + @@ -37,64 +49,87 @@ $actif = (int)$user_client['actif']; $reInit = (int)$user_client['reInit']; $codeLangue = $user_client['codeLangue']; - - // Gestion multilingue du profil $libelleProfil = est_anglophone() ? $user_client['profilEng'] : $user_client['profil']; ?> - - - - - - - -
- + + nettoyer($codeUtilisateur) ?> - + -
nettoyer($user_client['utilisateur']) ?>
+
+
nettoyer($user_client['utilisateur']) ?>
- + + - - nettoyer($libelleProfil) ?> + + + + nettoyer($libelleProfil) ?> + - - - - - + +
+ + +
+ +
+ + \ No newline at end of file From 79cc1c4d7fe18e86aff07e715510914aa7793fff Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 12:36:41 +0000 Subject: [PATCH 45/65] qaz --- Vue/Usersrhclient/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vue/Usersrhclient/index.php b/Vue/Usersrhclient/index.php index 491b0581..73777ad6 100755 --- a/Vue/Usersrhclient/index.php +++ b/Vue/Usersrhclient/index.php @@ -6,7 +6,7 @@ -
+

From ee25952839a7c622ec61ec4f20bfa9488d23b56e Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 12:45:56 +0000 Subject: [PATCH 46/65] def --- Controleur/ControleurRoles.php | 2 +- Modele/Utilisateur.php | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/Controleur/ControleurRoles.php b/Controleur/ControleurRoles.php index 8d878a84..172f63ac 100644 --- a/Controleur/ControleurRoles.php +++ b/Controleur/ControleurRoles.php @@ -15,7 +15,7 @@ class ControleurRoles extends Controleur } public function index() { - $profil = $this->utilisateur->getListeProfilCode(); + $profil = $this->utilisateur->getListeProfilCodeRh(); $this->genererVue(array('profil' => $profil)); } diff --git a/Modele/Utilisateur.php b/Modele/Utilisateur.php index 4a4a3d43..c7babc5f 100644 --- a/Modele/Utilisateur.php +++ b/Modele/Utilisateur.php @@ -662,4 +662,18 @@ class Utilisateur extends Modele { $email, $hash, $codeLangue, $actVisible, $AffectionVisible, $user)); } + public function getListeProfilCodeRh() + { + if (est_anglophone()) + { + $sql = 'SELECT codeProfil AS `code`, CONCAT(libelleEng, " ( ", codeProfil, " )") AS libelle FROM c_profil WHERE (codeSociete=?) ORDER BY libelleEng'; + } + else + { + $sql = 'SELECT codeProfil AS `code`, CONCAT(libelle, " ( ", codeProfil, " )") AS libelle FROM c_profil WHERE (codeSociete=?) ORDER BY libelle'; + } + + $liste = $this->executerRequete($sql, array($_SESSION['codeSociete'])); + return $liste->fetchAll(PDO::FETCH_ASSOC); + } } \ No newline at end of file From d3faeae7a78602b300e7b69cd014f929abba3c17 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 12:55:55 +0000 Subject: [PATCH 47/65] aqsz --- Controleur/ControleurAjaxhabilitation.php | 108 ++++++++++++++++++ Js/fonctions.js | 44 ++++++++ Modele/Utilisateur.php | 20 ++++ Vue/Ajaxhabilitation/index.php | 131 ++++++++++++++++++++++ 4 files changed, 303 insertions(+) create mode 100644 Controleur/ControleurAjaxhabilitation.php create mode 100644 Vue/Ajaxhabilitation/index.php diff --git a/Controleur/ControleurAjaxhabilitation.php b/Controleur/ControleurAjaxhabilitation.php new file mode 100644 index 00000000..75b3f127 --- /dev/null +++ b/Controleur/ControleurAjaxhabilitation.php @@ -0,0 +1,108 @@ +utilisateur = new Utilisateur(); + } + + public function index() + { + $codeProfil = $this->requete->getParametreFormulaire("codeProfil"); + + $menus_accessibles = $this->utilisateur->getMenusAccessiblesProfilRh($codeProfil); + + $menus_non_accessibles = $this->utilisateur->getMenusNonAccessiblesProfilRh($codeProfil); + + $this->genererVueAjax(array('menus_accessibles' => $menus_accessibles, 'menus_non_accessibles' => $menus_non_accessibles)); + } + + + public function ajouterunmenuprofilrh() + { + $codeProfil = $this->requete->getParametreFormulaire("codeProfil"); + $codeMenu = $this->requete->getParametreFormulaire("codeMenu"); + + $this->utilisateur->ajouterunmenuprofilrh($codeProfil, $codeMenu); + } + + + public function retirerunmenuprofilrh() + { + $codeProfil = $this->requete->getParametreFormulaire("codeProfil"); + $codeMenu = $this->requete->getParametreFormulaire("codeMenu"); + + $this->utilisateur->retirerunmenuprofilrh($codeProfil, $codeMenu); + } + + + public function ajoutertousmenusprofilrh() + { + $codeProfil = $this->requete->getParametreFormulaire("codeProfil"); + + $this->utilisateur->ajoutertousmenusprofilrh($codeProfil); + } + + + public function retirertousmenuprofilrh() + { + $codeProfil = $this->requete->getParametreFormulaire("codeProfil"); + + $this->utilisateur->retirertousmenuprofilrh($codeProfil); + } + + + public function afficheraccessousmenus() + { + $codeProfil = $this->requete->getParametreFormulaire("codeProfil"); + $codeVue = $this->requete->getParametreFormulaire("codeVue"); + + $menus_accessibles = $this->utilisateur->getSousMenusAccessiblesVue($codeProfil, $codeVue); + $menus_non_accessibles = $this->utilisateur->getSousMenusNonAccessiblesVue($codeProfil,$codeVue); + + $this->genererVueAjax(array( + 'menus_accessibles' => $menus_accessibles, + 'menus_non_accessibles' => $menus_non_accessibles + )); + } + + + public function ajoutertoussousmenusrh() + { + $codeProfil = $this->requete->getParametreFormulaire("codeProfil"); + $codeVue = $this->requete->getParametreFormulaire("codeVue"); + + $this->utilisateur->ajoutertoussousmenusrh($codeProfil, $codeVue); + } + + public function retirertoussousmenusrh() + { + $codeProfil = $this->requete->getParametreFormulaire("codeProfil"); + $codeVue = $this->requete->getParametreFormulaire("codeVue"); + + $this->utilisateur->retirertoussousmenusrh($codeProfil, $codeVue); + } + + public function ajouterunsousmenurh() + { + $codeProfil = $this->requete->getParametreFormulaire("codeProfil"); + $codeVue = $this->requete->getParametreFormulaire("codeVue"); + $codeMenu = $this->requete->getParametreFormulaire("codeMenu"); + + $this->utilisateur->ajouterunsousmenurh($codeProfil, $codeVue, $codeMenu); + } + + public function retirerunsousmenurh() + { + $codeProfil = $this->requete->getParametreFormulaire("codeProfil"); + $codeVue = $this->requete->getParametreFormulaire("codeVue"); + $codeMenu = $this->requete->getParametreFormulaire("codeMenu"); + + $this->utilisateur->retirerunsousmenurh($codeProfil, $codeVue, $codeMenu); + } +} \ No newline at end of file diff --git a/Js/fonctions.js b/Js/fonctions.js index 0b3de90b..39e371d6 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -44944,4 +44944,48 @@ function reinitpaswd_user_rh(codeUtilisateur) } }); } +} + +function afficher_menu_principal_profil_rh() +{ + codeProfil=$("#codeProfil").val(); + + if (codeProfil<=" ") + { + v_msg="Veuillez sélectionner un profil!"; + v_msgEng="Please select a user profile!"; + + alert_ebene(v_msg, v_msgEng); + + $("#codeProfil").focus(); + return; + } + + donnees = 'codeProfil='+codeProfil; + + var div_attente = $('#div_menu_profil'); + + div_attente.html(` +
+
+ Loading... +
+ + Veuillez patienter... / Please wait... + +
+ `); + + $.ajax({ + url: $("#racineWeb").val()+"Ajaxhabilitation/", + type : 'post', + data: donnees, + error: function(errorData) { + }, + success: function(data) { + div_attente.html(data); + }, + complete: function() { + } + }); } \ No newline at end of file diff --git a/Modele/Utilisateur.php b/Modele/Utilisateur.php index c7babc5f..78ee2bed 100644 --- a/Modele/Utilisateur.php +++ b/Modele/Utilisateur.php @@ -291,6 +291,16 @@ class Utilisateur extends Modele { } + public function getMenusAccessiblesProfilRh($codeProfil) + { + $sql = "call sp_c_get_menus_accessibles_profil_rh(?, ?);"; + + $menu = $this->executerRequete($sql, array($_SESSION['codeSociete'], $codeProfil)); + + return $menu->fetchAll(PDO::FETCH_ASSOC); + + } + public function getMenusNonAccessiblesProfil($codeProfil) { $sql = "call sp_r_get_menus_non_accessibles_profil(?, ?);"; @@ -301,6 +311,16 @@ class Utilisateur extends Modele { } + public function getMenusNonAccessiblesProfilRh($codeProfil) + { + $sql = "call sp_c_get_menus_non_accessibles_profil_rh(?, ?);"; + + $menu = $this->executerRequete($sql, array($_SESSION['codeSociete'], $codeProfil)); + + return $menu->fetchAll(PDO::FETCH_ASSOC); + + } + public function ajouterunmenuprincipalprofilassureur($codeProfil, $codeMenu) { $codeSociete = $_SESSION['codeSociete']; diff --git a/Vue/Ajaxhabilitation/index.php b/Vue/Ajaxhabilitation/index.php new file mode 100644 index 00000000..e4614730 --- /dev/null +++ b/Vue/Ajaxhabilitation/index.php @@ -0,0 +1,131 @@ +
+
+ +
+
+
+
+
+ + + + +
+
+ +
+
+
+ +
+ +
+ +
+ + + + + + + + + +
+ +
+
+
+
+ +
+
+
+
+
+ + + + +
+
+ +
+
+
+ +
+ +
+ +
+ + + + + + + + + +
+ +
+
+
+
+ +
+
+ + \ No newline at end of file From d24e813cd8fdccfb25d50d27593787cfdaed6b76 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 13:08:49 +0000 Subject: [PATCH 48/65] aszertu --- Js/fonctions.js | 124 +++++++++++++++++++++++++++++++++++++++++ Modele/Utilisateur.php | 80 +++++++++++++++++++------- Vue/gabarit.php | 2 +- 3 files changed, 186 insertions(+), 20 deletions(-) diff --git a/Js/fonctions.js b/Js/fonctions.js index 39e371d6..0ad462b5 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -44988,4 +44988,128 @@ function afficher_menu_principal_profil_rh() complete: function() { } }); +} + +function ajouter_tous_menus_principal_profil_rh() +{ + codeProfil=$("#codeProfil").val(); + + if (codeProfil<=" ") + { + v_msg="Veuillez sélectionner un profil!"; + v_msgEng="Please select a user profile!"; + + alert_ebene(v_msg, v_msgEng); + + $("#codeProfil").focus(); + return; + } + + donnees = 'codeProfil='+codeProfil; + + $.ajax({ + url: $("#racineWeb").val()+"Ajaxhabilitation/ajoutertousmenusprofilrh/", + type: 'POST', + data: donnees, + success: function(data) { + }, + error: function(data) { + }, + complete: function() { + afficher_menu_principal_profil_rh(); + } + }); +} + +function ajouter_un_menu_principal_profil_rh(codeMenu) +{ + codeProfil=$("#codeProfil").val(); + + if (codeProfil<=" ") + { + v_msg="Veuillez sélectionner un profil!"; + v_msgEng="Please select a user profile!"; + + alert_ebene(v_msg, v_msgEng); + + $("#codeProfil").focus(); + return; + } + + donnees = 'codeProfil='+codeProfil+'&codeMenu='+codeMenu; + + $.ajax({ + url: $("#racineWeb").val()+"Ajaxhabilitation/ajouterunmenuprofilrh/", + type: 'POST', + data: donnees, + success: function(data) { + }, + error: function(data) { + }, + complete: function() { + afficher_menu_principal_profil_rh(); + } + }); +} + +function retirer_tous_menus_principal_profil_rh() +{ + codeProfil=$("#codeProfil").val(); + + if (codeProfil<=" ") + { + v_msg="Veuillez sélectionner un profil!"; + v_msgEng="Please select a user profile!"; + + alert_ebene(v_msg, v_msgEng); + + $("#codeProfil").focus(); + return; + } + + donnees = 'codeProfil='+codeProfil; + + $.ajax({ + url: $("#racineWeb").val()+"Ajaxhabilitation/retirertousmenuprofilrh/", + type: 'POST', + data: donnees, + success: function(data) { + }, + error: function(data) { + }, + complete: function() { + afficher_menu_principal_profil_rh(); + } + }); +} + +function retirer_un_menu_principal_profil_rh(codeMenu) +{ + codeProfil=$("#codeProfil").val(); + + if (codeProfil<=" ") + { + v_msg="Veuillez sélectionner un profil!"; + v_msgEng="Please select a user profile!"; + + alert_ebene(v_msg, v_msgEng); + + $("#codeProfil").focus(); + return; + } + + donnees = 'codeProfil='+codeProfil+'&codeMenu='+codeMenu; + + $.ajax({ + url: $("#racineWeb").val()+"Ajaxhabilitation/retirerunmenuprofilrh/", + type: 'POST', + data: donnees, + success: function(data) { + }, + error: function(data) { + }, + complete: function() { + afficher_menu_principal_profil_rh(); + } + }); } \ No newline at end of file diff --git a/Modele/Utilisateur.php b/Modele/Utilisateur.php index 78ee2bed..e5026b4a 100644 --- a/Modele/Utilisateur.php +++ b/Modele/Utilisateur.php @@ -291,15 +291,7 @@ class Utilisateur extends Modele { } - public function getMenusAccessiblesProfilRh($codeProfil) - { - $sql = "call sp_c_get_menus_accessibles_profil_rh(?, ?);"; - - $menu = $this->executerRequete($sql, array($_SESSION['codeSociete'], $codeProfil)); - - return $menu->fetchAll(PDO::FETCH_ASSOC); - - } + public function getMenusNonAccessiblesProfil($codeProfil) { @@ -311,16 +303,6 @@ class Utilisateur extends Modele { } - public function getMenusNonAccessiblesProfilRh($codeProfil) - { - $sql = "call sp_c_get_menus_non_accessibles_profil_rh(?, ?);"; - - $menu = $this->executerRequete($sql, array($_SESSION['codeSociete'], $codeProfil)); - - return $menu->fetchAll(PDO::FETCH_ASSOC); - - } - public function ajouterunmenuprincipalprofilassureur($codeProfil, $codeMenu) { $codeSociete = $_SESSION['codeSociete']; @@ -696,4 +678,64 @@ class Utilisateur extends Modele { $liste = $this->executerRequete($sql, array($_SESSION['codeSociete'])); return $liste->fetchAll(PDO::FETCH_ASSOC); } + + public function getMenusAccessiblesProfilRh($codeProfil) + { + $sql = "call sp_c_get_menus_accessibles_profil_rh(?, ?);"; + + $menu = $this->executerRequete($sql, array($_SESSION['codeSociete'], $codeProfil)); + + return $menu->fetchAll(PDO::FETCH_ASSOC); + + } + + public function getMenusNonAccessiblesProfilRh($codeProfil) + { + $sql = "call sp_c_get_menus_non_accessibles_profil_rh(?, ?);"; + + $menu = $this->executerRequete($sql, array($_SESSION['codeSociete'], $codeProfil)); + + return $menu->fetchAll(PDO::FETCH_ASSOC); + + } + + public function ajoutertousmenusprofilrh($codeProfil) + { + $codeSociete = $_SESSION['codeSociete']; + $user = $_SESSION['login']; + + $sql = 'call sp_c_ajouter_tous_menus_accessibles_profil_rh(?, ?, ?)'; + + $this->executerRequete($sql, array($codeSociete, $codeProfil, $user)); + } + + public function ajouterunmenuprofilrh($codeProfil, $codeMenu) + { + $codeSociete = $_SESSION['codeSociete']; + $user = $_SESSION['login']; + + $sql = 'call sp_c_ajouter_un_menu_accessibles_profil_rh(?, ?, ?, ?)'; + + $this->executerRequete($sql, array($codeSociete, $codeProfil, $codeMenu, $user)); + } + + public function retirertousmenuprofilrh($codeProfil) + { + $codeSociete = $_SESSION['codeSociete']; + $user = $_SESSION['login']; + + $sql = 'call sp_c_retirer_tous_menus_accessibles_profil_rh(?, ?, ?)'; + + $this->executerRequete($sql, array($codeSociete, $codeProfil, $user)); + } + + public function retirerunmenuprofilrh($codeProfil, $codeMenu) + { + $codeSociete = $_SESSION['codeSociete']; + $user = $_SESSION['login']; + + $sql = 'call sp_c_retirer_un_menu_accessibles_profil_rh(?, ?, ?, ?)'; + + $this->executerRequete($sql, array($codeSociete, $codeProfil, $codeMenu, $user)); + } } \ No newline at end of file diff --git a/Vue/gabarit.php b/Vue/gabarit.php index d8b48f6e..1b8d50d3 100644 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -263,7 +263,7 @@ controlerPlafondBeneficiaire : - + From 2d19976dca0a65c67e99f30043b2315f8ee97546 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 13:29:40 +0000 Subject: [PATCH 49/65] ser --- Controleur/ControleurAccessubmenus.php | 28 +++++ Vue/Accessubmenus/index.php | 142 +++++++++++++++++++++++++ 2 files changed, 170 insertions(+) create mode 100644 Controleur/ControleurAccessubmenus.php create mode 100644 Vue/Accessubmenus/index.php diff --git a/Controleur/ControleurAccessubmenus.php b/Controleur/ControleurAccessubmenus.php new file mode 100644 index 00000000..fee7aa2c --- /dev/null +++ b/Controleur/ControleurAccessubmenus.php @@ -0,0 +1,28 @@ +menuvue = new Menuvueutilisateur(); + $this->menuvue->getMenuVue('Accessubmenus'); + + $this->utilisateur = new Utilisateur(); + } + + public function index() + { + $profil = $this->utilisateur->getListeProfilCodeRh(); + $menus = array(); + + $this->genererVue(array( + 'profil' => $profil, + 'menus' => $menus + )); + } +} \ No newline at end of file diff --git a/Vue/Accessubmenus/index.php b/Vue/Accessubmenus/index.php new file mode 100644 index 00000000..d33f7bab --- /dev/null +++ b/Vue/Accessubmenus/index.php @@ -0,0 +1,142 @@ +
+
+ +
+
+
+
+
+ + + + +
+
+ +
+
+
+ +
+ +
+ +
+ + + + + + + + + +
+ + + + +
+
+
+
+ +
+
+
+
+
+ + + + +
+
+ +
+
+
+ +
+ +
+ +
+ + + + + + + + + +
+ + + + +
+
+
+
+ +
+
+ + \ No newline at end of file From 3477a720a250bf852e25b2467d9021820f806196 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 13:31:38 +0000 Subject: [PATCH 50/65] sazer --- Vue/Accessubmenus/index.php | 212 ++++++++++++++---------------------- 1 file changed, 84 insertions(+), 128 deletions(-) diff --git a/Vue/Accessubmenus/index.php b/Vue/Accessubmenus/index.php index d33f7bab..b39ba895 100644 --- a/Vue/Accessubmenus/index.php +++ b/Vue/Accessubmenus/index.php @@ -1,142 +1,98 @@ -
-
- -
-
-
-
-
- - - - -
-
- -
-
-
- -
- -
+titre = "INTER SANTE - Accès Sous-Menus"; ?> -
- - - - - - - - - -
- - - - -
+
+ + \ No newline at end of file From 272d5dbd9d76f8529f0bf2e9c046ad628f47c728 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 13:51:57 +0000 Subject: [PATCH 51/65] sert --- Controleur/ControleurAjaxhabilitation.php | 4 +- Js/fonctions.js | 92 +++++++++++ Modele/Utilisateur.php | 18 +++ .../afficheraccessousmenus.php | 144 ++++++++++++++++++ Vue/gabarit.php | 2 +- 5 files changed, 257 insertions(+), 3 deletions(-) create mode 100644 Vue/Ajaxhabilitation/afficheraccessousmenus.php diff --git a/Controleur/ControleurAjaxhabilitation.php b/Controleur/ControleurAjaxhabilitation.php index 75b3f127..28714929 100644 --- a/Controleur/ControleurAjaxhabilitation.php +++ b/Controleur/ControleurAjaxhabilitation.php @@ -62,8 +62,8 @@ class ControleurAjaxhabilitation extends Controleur $codeProfil = $this->requete->getParametreFormulaire("codeProfil"); $codeVue = $this->requete->getParametreFormulaire("codeVue"); - $menus_accessibles = $this->utilisateur->getSousMenusAccessiblesVue($codeProfil, $codeVue); - $menus_non_accessibles = $this->utilisateur->getSousMenusNonAccessiblesVue($codeProfil,$codeVue); + $menus_accessibles = $this->utilisateur->getSousMenusAccessiblesVueRh($codeProfil, $codeVue); + $menus_non_accessibles = $this->utilisateur->getSousMenusNonAccessiblesVueRh($codeProfil,$codeVue); $this->genererVueAjax(array( 'menus_accessibles' => $menus_accessibles, diff --git a/Js/fonctions.js b/Js/fonctions.js index 0ad462b5..7464de59 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -45112,4 +45112,96 @@ function retirer_un_menu_principal_profil_rh(codeMenu) afficher_menu_principal_profil_rh(); } }); +} + +function ajax_menus_profil() +{ + var codeProfil = $("#codeProfil").val(); + + if (codeProfil<=" ") + { + v_msg="Veuillez sélectionner un profil!"; + v_msgEng="Please select a user profile!"; + + alert_ebene(v_msg, v_msgEng); + + $("#codeProfil").focus(); + return; + } + + donnees = 'codeProfil='+codeProfil; + + $.ajax({ + url: $("#racineWeb").val()+"Ajaxmenusprofil/", + type: 'POST', + data: donnees, + success: function(data) { + $("#div_menu").html(data); + }, + error: function(data) { + }, + complete: function() { + + } + }); + +} + +function afficher_menu_vue_profil() +{ + codeProfil=$("#codeProfil").val(); + + if (codeProfil<=" ") + { + v_msg="Veuillez sélectionner un profil!"; + v_msgEng="Please select a user profile!"; + + alert_ebene(v_msg, v_msgEng); + + $("#codeProfil").focus(); + return; + } + + codeVue = $("#codeVue").val(); + + if (codeVue<=" ") + { + v_msg="Veuillez sélectionner une vue!"; + v_msgEng="Please select a view!"; + + alert_ebene(v_msg, v_msgEng); + + $("#codeVue").focus(); + return; + } + + donnees = 'codeProfil='+codeProfil; + donnees += '&codeVue='+codeVue; + + var div_attente = $('#div_menu_profil'); + + div_attente.html(` +
+
+ Loading... +
+ + Veuillez patienter... / Please wait... + +
+ `); + + $.ajax({ + url: $("#racineWeb").val()+"Ajaxhabilitation/afficheraccessousmenus/", + type : 'post', + data: donnees, + error: function(errorData) { + }, + success: function(data) + { + div_attente.html(data); + }, + complete: function() { + } + }); } \ No newline at end of file diff --git a/Modele/Utilisateur.php b/Modele/Utilisateur.php index e5026b4a..63c38211 100644 --- a/Modele/Utilisateur.php +++ b/Modele/Utilisateur.php @@ -738,4 +738,22 @@ class Utilisateur extends Modele { $this->executerRequete($sql, array($codeSociete, $codeProfil, $codeMenu, $user)); } + + public function getSousMenusAccessiblesVueRh($codeProfil, $codeVue) + { + $sql = "call sp_c_get_sous_menus_accessibles_vue_rh(?, ?, ?);"; + + $menu = $this->executerRequete($sql, array($_SESSION['codeSociete'], $codeProfil, $codeVue)); + + return $menu->fetchAll(PDO::FETCH_ASSOC); + } + + public function getSousMenusNonAccessiblesVueRh($codeProfil, $vue) + { + $sql = "call sp_c_get_sous_menus_non_accessibles_vue_rh(?, ?, ?);"; + + $menu = $this->executerRequete($sql, array($_SESSION['codeSociete'], $codeProfil, $vue)); + + return $menu->fetchAll(PDO::FETCH_ASSOC); + } } \ No newline at end of file diff --git a/Vue/Ajaxhabilitation/afficheraccessousmenus.php b/Vue/Ajaxhabilitation/afficheraccessousmenus.php new file mode 100644 index 00000000..1630bb27 --- /dev/null +++ b/Vue/Ajaxhabilitation/afficheraccessousmenus.php @@ -0,0 +1,144 @@ +
+
+ +
+
+
+
+
+ + + + +
+
+ +
+
+
+ +
+ +
+ +
+ + + + + + + + + +
+ + + +
+
+
+
+ +
+
+
+
+
+ + + + +
+
+ +
+
+
+ +
+ +
+ +
+ + + + + + + + + +
+ + + +
+
+
+
+ +
+
+ + \ No newline at end of file diff --git a/Vue/gabarit.php b/Vue/gabarit.php index 1b8d50d3..baa1e58b 100644 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -263,7 +263,7 @@ controlerPlafondBeneficiaire : - + From c1424e0d06baff71384fdd143777612ee6f4edc3 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 13:59:43 +0000 Subject: [PATCH 52/65] ezaz --- Controleur/ControleurAjaxmenusprofilrh.php | 23 ++++++++++++++++++++++ Js/fonctions.js | 2 +- Modele/Utilisateur.php | 18 +++++++++++++++++ Vue/Ajaxmenusprofilrh/index.php | 3 +++ Vue/gabarit.php | 2 +- 5 files changed, 46 insertions(+), 2 deletions(-) create mode 100644 Controleur/ControleurAjaxmenusprofilrh.php create mode 100644 Vue/Ajaxmenusprofilrh/index.php diff --git a/Controleur/ControleurAjaxmenusprofilrh.php b/Controleur/ControleurAjaxmenusprofilrh.php new file mode 100644 index 00000000..21898ef7 --- /dev/null +++ b/Controleur/ControleurAjaxmenusprofilrh.php @@ -0,0 +1,23 @@ +utilisateur = new Utilisateur(); + } + + public function index() + { + $codeProfil = $this->requete->getParametreFormulaire("codeProfil"); + // + $menus = $this->utilisateur->getListeProfilRh($codeProfil); + + $this->genererVueAjax(array( + 'menus' => $menus + )); + } +} \ No newline at end of file diff --git a/Js/fonctions.js b/Js/fonctions.js index 7464de59..846d7045 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -45132,7 +45132,7 @@ function ajax_menus_profil() donnees = 'codeProfil='+codeProfil; $.ajax({ - url: $("#racineWeb").val()+"Ajaxmenusprofil/", + url: $("#racineWeb").val()+"Ajaxmenusprofilrh/", type: 'POST', data: donnees, success: function(data) { diff --git a/Modele/Utilisateur.php b/Modele/Utilisateur.php index 63c38211..c5225905 100644 --- a/Modele/Utilisateur.php +++ b/Modele/Utilisateur.php @@ -756,4 +756,22 @@ class Utilisateur extends Modele { return $menu->fetchAll(PDO::FETCH_ASSOC); } + + public function getListeProfilRh($codeProfil) + { + + if (est_anglophone()) + { + $sql = "call sp_c_get_liste_menus_profil_rh_eng(?, ?);"; + } + else + { + $sql = "call sp_c_get_liste_menus_profil_rh(?, ?);"; + } + + $menu = $this->executerRequete($sql, array($_SESSION['codeSociete'], $codeProfil)); + + return $menu->fetchAll(PDO::FETCH_ASSOC); + + } } \ No newline at end of file diff --git a/Vue/Ajaxmenusprofilrh/index.php b/Vue/Ajaxmenusprofilrh/index.php new file mode 100644 index 00000000..f8f885ec --- /dev/null +++ b/Vue/Ajaxmenusprofilrh/index.php @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/Vue/gabarit.php b/Vue/gabarit.php index baa1e58b..da6f453a 100644 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -263,7 +263,7 @@ controlerPlafondBeneficiaire : - + From 68ada0a589b786758f41166992fddbbf0cf9ba1f Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 14:01:38 +0000 Subject: [PATCH 53/65] zart --- Vue/Ajaxmenusprofilrh/index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Vue/Ajaxmenusprofilrh/index.php b/Vue/Ajaxmenusprofilrh/index.php index f8f885ec..4608bd58 100644 --- a/Vue/Ajaxmenusprofilrh/index.php +++ b/Vue/Ajaxmenusprofilrh/index.php @@ -1,3 +1,3 @@ - \ No newline at end of file + \ No newline at end of file From e2dcd90a486384b7a3681d3a723a5dc0e2a60848 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 14:12:16 +0000 Subject: [PATCH 54/65] aqx --- Js/fonctions.js | 182 +++++++++++++++++++++++++++++++++++++++++ Modele/Utilisateur.php | 41 +++++++++- Vue/gabarit.php | 2 +- 3 files changed, 223 insertions(+), 2 deletions(-) diff --git a/Js/fonctions.js b/Js/fonctions.js index 846d7045..e7d294f7 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -45204,4 +45204,186 @@ function afficher_menu_vue_profil() complete: function() { } }); +} + +function ajouter_tous_menu_vue_profil() +{ + codeProfil=$("#codeProfil").val(); + + if (codeProfil<=" ") + { + v_msg="Veuillez sélectionner un profil!"; + v_msgEng="Please select a user profile!"; + + alert_ebene(v_msg, v_msgEng); + + $("#codeProfil").focus(); + return; + } + + codeVue=$("#codeVue").val(); + + if (codeVue<=" ") + { + v_msg="Veuillez sélectionner une vue!"; + v_msgEng="Please select a view!"; + + alert_ebene(v_msg, v_msgEng); + + $("#codeVue").focus(); + return; + } + + donnees = 'codeProfil='+codeProfil; + donnees += '&codeVue='+codeVue; + + $.ajax({ + url: $("#racineWeb").val()+"Ajaxhabilitation/ajoutertoussousmenusrh/", + type: 'POST', + data: donnees, + success: function(data) { + }, + error: function(data) { + }, + complete: function() { + afficher_menu_vue_profil(); + } + }); +} + +function ajouter_un_menu_vue_profil(codeMenu) +{ + codeProfil=$("#codeProfil").val(); + + if (codeProfil<=" ") + { + v_msg="Veuillez sélectionner un profil!"; + v_msgEng="Please select a user profile!"; + + alert_ebene(v_msg, v_msgEng); + + $("#codeProfil").focus(); + return; + } + + codeVue=$("#codeVue").val(); + + if (codeVue<=" ") + { + v_msg="Veuillez sélectionner une vue!"; + v_msgEng="Please select a view!"; + + alert_ebene(v_msg, v_msgEng); + + $("#codeVue").focus(); + return; + } + + donnees = 'codeProfil='+codeProfil; + donnees += '&codeVue='+codeVue; + donnees += '&codeMenu='+codeMenu; + + $.ajax({ + url: $("#racineWeb").val()+"Ajaxhabilitation/ajouterunsousmenurh/", + type: 'POST', + data: donnees, + success: function(data) { + }, + error: function(data) { + }, + complete: function() { + afficher_menu_vue_profil(); + } + }); +} + +function retirer_tous_menu_vue_profil() +{ + codeProfil=$("#codeProfil").val(); + + if (codeProfil<=" ") + { + v_msg="Veuillez sélectionner un profil!"; + v_msgEng="Please select a user profile!"; + + alert_ebene(v_msg, v_msgEng); + + $("#codeProfil").focus(); + return; + } + + codeVue=$("#codeVue").val(); + + if (codeVue<=" ") + { + v_msg="Veuillez sélectionner une vue!"; + v_msgEng="Please select a view!"; + + alert_ebene(v_msg, v_msgEng); + + $("#codeVue").focus(); + return; + } + + donnees = 'codeProfil='+codeProfil; + donnees += '&codeVue='+codeVue; + + $.ajax({ + url: $("#racineWeb").val()+"Ajaxhabilitation/retirertoussousmenusrh/", + type: 'POST', + data: donnees, + success: function(data) { + }, + error: function(data) { + }, + complete: function() { + afficher_menu_vue_profil(); + } + }); +} + +function retirer_un_menu_vue_profil(codeMenu) +{ + codeProfil=$("#codeProfil").val(); + + if (codeProfil<=" ") + { + v_msg="Veuillez sélectionner un profil!"; + v_msgEng="Please select a user profile!"; + + alert_ebene(v_msg, v_msgEng); + + $("#codeProfil").focus(); + return; + } + + codeVue=$("#codeVue").val(); + + if (codeVue<=" ") + { + v_msg="Veuillez sélectionner une vue!"; + v_msgEng="Please select a view!"; + + alert_ebene(v_msg, v_msgEng); + + $("#codeVue").focus(); + return; + } + + donnees = 'codeProfil='+codeProfil; + donnees += '&codeVue='+codeVue; + donnees += '&codeMenu='+codeMenu; + + $.ajax({ + url: $("#racineWeb").val()+"Ajaxhabilitation/retirerunsousmenurh/", + type: 'POST', + data: donnees, + success: function(data) { + }, + error: function(data) { + }, + complete: function() { + afficher_menu_vue_profil(); + } + }); } \ No newline at end of file diff --git a/Modele/Utilisateur.php b/Modele/Utilisateur.php index c5225905..963cbc05 100644 --- a/Modele/Utilisateur.php +++ b/Modele/Utilisateur.php @@ -772,6 +772,45 @@ class Utilisateur extends Modele { $menu = $this->executerRequete($sql, array($_SESSION['codeSociete'], $codeProfil)); return $menu->fetchAll(PDO::FETCH_ASSOC); - } + + public function ajoutertoussousmenusrh($codeProfil, $codeVue) + { + $codeSociete = $_SESSION['codeSociete']; + $user = $_SESSION['login']; + + $sql = 'call sp_c_ajouter_tous_sous_menus_profil_rh(?, ?, ?, ?)'; + + $this->executerRequete($sql, array($codeSociete, $codeProfil, $codeVue, $user)); + } + + public function ajouterunsousmenurh($codeProfil, $codeVue, $codeMenu) + { + $codeSociete = $_SESSION['codeSociete']; + $user = $_SESSION['login']; + + $sql = 'call sp_c_ajouter_un_sous_menus_profil_rh(?, ?, ?, ?, ?)'; + + $this->executerRequete($sql, array($codeSociete, $codeProfil, $codeVue, $codeMenu, $user)); + } + + public function retirertoussousmenusrh($codeProfil, $codeVue) + { + $codeSociete = $_SESSION['codeSociete']; + $user = $_SESSION['login']; + + $sql = 'call sp_c_retirer_tous_sous_menus_profil_rh(?, ?, ?, ?)'; + + $this->executerRequete($sql, array($codeSociete, $codeProfil, $codeVue, $user)); + } + + public function retirerunsousmenurh($codeProfil, $codeVue, $codeMenu) + { + $codeSociete = $_SESSION['codeSociete']; + $user = $_SESSION['login']; + + $sql = 'call sp_c_retirer_un_sous_menus_profil_rh(?, ?, ?, ?, ?)'; + + $this->executerRequete($sql, array($codeSociete, $codeProfil, $codeVue, $codeMenu, $user)); + } } \ No newline at end of file diff --git a/Vue/gabarit.php b/Vue/gabarit.php index da6f453a..1cdc8faa 100644 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -263,7 +263,7 @@ controlerPlafondBeneficiaire : - + From 7c0dce2bb58be64a208e78ec11e6cfcb195be149 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 14:17:09 +0000 Subject: [PATCH 55/65] SEZ --- Vue/Nouveluserrh/index.php | 221 ++++++++++++++++++++++++------------- 1 file changed, 142 insertions(+), 79 deletions(-) diff --git a/Vue/Nouveluserrh/index.php b/Vue/Nouveluserrh/index.php index 2866c620..e732893d 100755 --- a/Vue/Nouveluserrh/index.php +++ b/Vue/Nouveluserrh/index.php @@ -1,99 +1,162 @@ titre = "INTER SANTE - Nouvel Utilisateur Portail RH"; $idClient = $_SESSION['idClient_C']; $nomClient = $_SESSION['nomClient_C']; $codeModeGenerationPass = $paramsgenerationpass['codeModeGenerationPass']; $codeModeEnvoiPass = $paramsgenerationpass['codeModeEnvoiPass']; ?> - - - - + - - - - - +
+ +

+ + +

-
- - +
+ +
+

+ +

+
-
- - +
+
+ +
+
+
+ +
+
+ +
+
+ + +
+
+ +
+
+ + +
+
-
- +
+
+ +
+ @ + +
+
+ +
+
+
- - +
+
+ + +
+
+ - +
+
+
+ +
+
-
- - +
+
+ + +
+
- - - +
+
+ + +
+
- - - +
+
+ + +
+
+ - - - +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ +
+
- - - - +
+
+ + +
+
+ + + + - - - - - - - - - - - - - - - - -
- - - - - -
E-mail
- - - -
- - -
" onClick="javascript:creer_user_rh_client();" style='font-size:10pt;' > " onClick="javascript:retour_a_users_rh_client();" style='font-size:10pt;' >
- -
- -
\ No newline at end of file + \ No newline at end of file From fa3dd4b0b1a3b281d3e66110e29b690b591a2c69 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 14:20:52 +0000 Subject: [PATCH 56/65] DER --- Vue/Ajaxmouvementassurevalider/index.php | 135 ++++++++------ Vue/Nouveluserrh/index.php | 221 ++++++++--------------- 2 files changed, 155 insertions(+), 201 deletions(-) diff --git a/Vue/Ajaxmouvementassurevalider/index.php b/Vue/Ajaxmouvementassurevalider/index.php index 0cce89d4..4ef1c2db 100644 --- a/Vue/Ajaxmouvementassurevalider/index.php +++ b/Vue/Ajaxmouvementassurevalider/index.php @@ -1,94 +1,98 @@ -
+
- - - - - - - - - - - - +
+ + + + + + + + + + + - - + + + - nettoyer($mvt['choix']); $idMvtTemp = $this->nettoyer($mvt['id']); - $sensMvt = $mvt['sensMouvement']; // On suppose que '0' = Entrée, '1' = Sortie + $sensMvt = $mvt['sensMouvement']; $libelleSensMouvement = est_anglophone() ? $mvt['libelleSensMouvementEng'] : $mvt['libelleSensMouvement']; - - $nombreGed = $mvt['nombreGed']; + $nombreGed = $mvt['nombreGed']; $idBeneficiaire = $mvt['idBeneficiaire']; - ?> + ?> - - - - - - - - - @@ -97,12 +101,25 @@
" onClick="valider_mouvement_rh();"> - - +
+ " onClick="valider_mouvement_rh();"> + + + + +
- nettoyer($mvt['dateEffet']), $_SESSION['lang']) ?> + + nettoyer($mvt['dateEffet']), $_SESSION['lang']) ?> + - - + + - - + + -
nettoyer($mvt['beneficiaire']) ?>
-
nettoyer($mvt['numeroBeneficiaire']) ?>
+
+
nettoyer($mvt['beneficiaire']) ?>
+
+ nettoyer($mvt['numeroBeneficiaire']) ?> +
- nettoyer($mvt['adherent']) ?> + + nettoyer($mvt['adherent']) ?> - nettoyer($mvt['codeLienParente']) ?> + + nettoyer($mvt['codeLienParente']) ?> + '0'): ?> - - - - + + - -
nettoyer($mvt['dateSysteme'])) ?>
-
nettoyer($mvt['codeUtilisateur']) ?>
+
+
nettoyer($mvt['dateSysteme'])) ?>
+
nettoyer($mvt['codeUtilisateur']) ?>
- nettoyer($mvt['primeTtc'])) ?> + + nettoyer($mvt['primeTtc'])) ?> + '0'): ?> - - - - - + + value="" + onClick="javascript:this.value=(this.value=='1'?'0':'1');selectionner_mouvement_rh(, this.value);"> - - + -
- - + \ No newline at end of file diff --git a/Vue/Nouveluserrh/index.php b/Vue/Nouveluserrh/index.php index e732893d..2866c620 100755 --- a/Vue/Nouveluserrh/index.php +++ b/Vue/Nouveluserrh/index.php @@ -1,162 +1,99 @@ titre = "INTER SANTE - Nouvel Utilisateur Portail RH"; $idClient = $_SESSION['idClient_C']; $nomClient = $_SESSION['nomClient_C']; $codeModeGenerationPass = $paramsgenerationpass['codeModeGenerationPass']; $codeModeEnvoiPass = $paramsgenerationpass['codeModeEnvoiPass']; ?> + + + - + -
- -

- - -

+ + + + + -
- -
-

- -

-
+
+ + -
-
- -
-
-
- -
-
- -
-
- - -
-
- -
-
- - -
-
+
+ + -
-
- -
- @ - -
-
- -
-
-
+ + -
-
- - -
-
- + + -
-
-
- -
-
+
-
-
- - -
-
+ + + -
-
- - -
-
+ + + -
-
- - -
-
- + + + -
-
-
-
- - -
-
-
-
- - -
-
-
-
- -
-
+ + + -
-
- - -
-
- - - - + + + + - \ No newline at end of file + + + + + + + + + + + + + + + + +
+ + + + + +
E-mail
+ + + +
+ + +
" onClick="javascript:creer_user_rh_client();" style='font-size:10pt;' > " onClick="javascript:retour_a_users_rh_client();" style='font-size:10pt;' >
+ +
+ +
\ No newline at end of file From 2289e43e15279dea750e682a24b9999270b265e8 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 14:21:58 +0000 Subject: [PATCH 57/65] DD --- Vue/Ajaxmouvementassurevalider/index.php | 135 ++++++++++------------- 1 file changed, 59 insertions(+), 76 deletions(-) diff --git a/Vue/Ajaxmouvementassurevalider/index.php b/Vue/Ajaxmouvementassurevalider/index.php index 4ef1c2db..0cce89d4 100644 --- a/Vue/Ajaxmouvementassurevalider/index.php +++ b/Vue/Ajaxmouvementassurevalider/index.php @@ -1,98 +1,94 @@ -
+
- - - - - - - - - - - - +
+ + + + + + + + + + + - - - - + + + nettoyer($mvt['choix']); $idMvtTemp = $this->nettoyer($mvt['id']); - $sensMvt = $mvt['sensMouvement']; + $sensMvt = $mvt['sensMouvement']; // On suppose que '0' = Entrée, '1' = Sortie $libelleSensMouvement = est_anglophone() ? $mvt['libelleSensMouvementEng'] : $mvt['libelleSensMouvement']; - $nombreGed = $mvt['nombreGed']; + + $nombreGed = $mvt['nombreGed']; $idBeneficiaire = $mvt['idBeneficiaire']; - ?> + ?> - - - - - - - - - @@ -101,25 +97,12 @@
- " onClick="valider_mouvement_rh();"> - - - - -
" onClick="valider_mouvement_rh();"> + +
- nettoyer($mvt['dateEffet']), $_SESSION['lang']) ?> + + nettoyer($mvt['dateEffet']), $_SESSION['lang']) ?> + - - + + - - + + -
nettoyer($mvt['beneficiaire']) ?>
-
- nettoyer($mvt['numeroBeneficiaire']) ?> -
+
+
nettoyer($mvt['beneficiaire']) ?>
+
nettoyer($mvt['numeroBeneficiaire']) ?>
- nettoyer($mvt['adherent']) ?> + + nettoyer($mvt['adherent']) ?> - nettoyer($mvt['codeLienParente']) ?> + + nettoyer($mvt['codeLienParente']) ?> + '0'): ?> - - - - + + - -
nettoyer($mvt['dateSysteme'])) ?>
-
nettoyer($mvt['codeUtilisateur']) ?>
+
+
nettoyer($mvt['dateSysteme'])) ?>
+
nettoyer($mvt['codeUtilisateur']) ?>
- nettoyer($mvt['primeTtc'])) ?> + + nettoyer($mvt['primeTtc'])) ?> + '0'): ?> - - value="" - onClick="javascript:this.value=(this.value=='1'?'0':'1');selectionner_mouvement_rh(, this.value);"> + + + + + - - + -
- + + \ No newline at end of file From ed4d1ea436bae5b5bcc7f502fd43d27a763a8aa0 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 14:24:16 +0000 Subject: [PATCH 58/65] ZE --- Vue/Ajaxmouvementassurevalider/index.php | 135 +++++++++++++---------- 1 file changed, 76 insertions(+), 59 deletions(-) diff --git a/Vue/Ajaxmouvementassurevalider/index.php b/Vue/Ajaxmouvementassurevalider/index.php index 0cce89d4..4ef1c2db 100644 --- a/Vue/Ajaxmouvementassurevalider/index.php +++ b/Vue/Ajaxmouvementassurevalider/index.php @@ -1,94 +1,98 @@ -
+
- - - - - - - - - - - - +
+ + + + + + + + + + + - - + + + - nettoyer($mvt['choix']); $idMvtTemp = $this->nettoyer($mvt['id']); - $sensMvt = $mvt['sensMouvement']; // On suppose que '0' = Entrée, '1' = Sortie + $sensMvt = $mvt['sensMouvement']; $libelleSensMouvement = est_anglophone() ? $mvt['libelleSensMouvementEng'] : $mvt['libelleSensMouvement']; - - $nombreGed = $mvt['nombreGed']; + $nombreGed = $mvt['nombreGed']; $idBeneficiaire = $mvt['idBeneficiaire']; - ?> + ?> - - - - - - - - - @@ -97,12 +101,25 @@
" onClick="valider_mouvement_rh();"> - - +
+ " onClick="valider_mouvement_rh();"> + + + + +
- nettoyer($mvt['dateEffet']), $_SESSION['lang']) ?> + + nettoyer($mvt['dateEffet']), $_SESSION['lang']) ?> + - - + + - - + + -
nettoyer($mvt['beneficiaire']) ?>
-
nettoyer($mvt['numeroBeneficiaire']) ?>
+
+
nettoyer($mvt['beneficiaire']) ?>
+
+ nettoyer($mvt['numeroBeneficiaire']) ?> +
- nettoyer($mvt['adherent']) ?> + + nettoyer($mvt['adherent']) ?> - nettoyer($mvt['codeLienParente']) ?> + + nettoyer($mvt['codeLienParente']) ?> + '0'): ?> - - - - + + - -
nettoyer($mvt['dateSysteme'])) ?>
-
nettoyer($mvt['codeUtilisateur']) ?>
+
+
nettoyer($mvt['dateSysteme'])) ?>
+
nettoyer($mvt['codeUtilisateur']) ?>
- nettoyer($mvt['primeTtc'])) ?> + + nettoyer($mvt['primeTtc'])) ?> + '0'): ?> - - - - - + + value="" + onClick="javascript:this.value=(this.value=='1'?'0':'1');selectionner_mouvement_rh(, this.value);"> - - + -
- - + \ No newline at end of file From df92246c8e0057b12f6926578bcda2851d3c90fc Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 14:25:39 +0000 Subject: [PATCH 59/65] ER --- Vue/Ajaxmouvementassurevalider/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vue/Ajaxmouvementassurevalider/index.php b/Vue/Ajaxmouvementassurevalider/index.php index 4ef1c2db..498ebe79 100644 --- a/Vue/Ajaxmouvementassurevalider/index.php +++ b/Vue/Ajaxmouvementassurevalider/index.php @@ -69,7 +69,7 @@

'0'): ?> - From 42d2677af5927049edc88a18fa45376a83d6138e Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Tue, 31 Mar 2026 14:34:17 +0000 Subject: [PATCH 60/65] dr --- Controleur/ControleurAjaxgedassuremvt.php | 2 +- Js/fonctions.js | 8 +- Vue/Ajaxgedassuremvt/index.php | 106 +++++++++++++--------- Vue/gabarit.php | 2 +- 4 files changed, 70 insertions(+), 48 deletions(-) diff --git a/Controleur/ControleurAjaxgedassuremvt.php b/Controleur/ControleurAjaxgedassuremvt.php index e8e00254..6f161e6f 100644 --- a/Controleur/ControleurAjaxgedassuremvt.php +++ b/Controleur/ControleurAjaxgedassuremvt.php @@ -12,7 +12,7 @@ class ControleurAjaxgedassuremvt extends Controleur { public function index() { $idBeneficiaire = $this->requete->getParametreFormulaire("idBeneficiaire"); - $geds = $this->ged->getgedassuremvt($idBeneficiaire); + $geds = $this->ged->getgedassuremvt($idBeneficiaire); $this->genererVueAjax(array('geds' => $geds)); diff --git a/Js/fonctions.js b/Js/fonctions.js index e7d294f7..a74153b2 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -43565,7 +43565,7 @@ function select_tous_carte_a_editer(p_choix) data: donnees, success: function(data) { $('#div_liste_carte').html(data); - appliquerDataTable(); + }, error: function(data) { }, @@ -43589,7 +43589,7 @@ function select_un_assure_a_editer(p_choix, id) data: donnees, success: function(data) { //$('#div_liste_carte').html(data); - //appliquerDataTable(); + // }, error: function(data) { }, @@ -43658,7 +43658,7 @@ function tester_edition_carteassure() v_msg="Liste vide!"; v_msgEng="Empty list!"; alert_ebene(v_msg, v_msgEng); - appliquerDataTable(); + return false; } else @@ -44743,7 +44743,7 @@ function consulter_ged_assure_mvt(idBeneficiaire){ //alert("Success : "+data); $("#div_patienter").html(''); $('#div_ged').html(data); - //appliquerDataTable(); + // $('#div_ged').modal("show"); }, complete: function() { diff --git a/Vue/Ajaxgedassuremvt/index.php b/Vue/Ajaxgedassuremvt/index.php index 18e32468..2d0a7dea 100644 --- a/Vue/Ajaxgedassuremvt/index.php +++ b/Vue/Ajaxgedassuremvt/index.php @@ -1,25 +1,28 @@