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 : = $_SESSION['controlerPlafondBeneficiaire'] ?>
-
+