From 82d7298d1c1d5fc14dac9051a1d6cd2f571b344f Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Wed, 31 Dec 2025 18:54:31 +0000 Subject: [PATCH] t --- ...ntroleurAjaxconsultertableauprestation.php | 20 +++++++++++++++++++ Js/fonctions.js | 16 +++++++++++++++ Vue/gabarit.php | 2 +- 3 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 Controleur/ControleurAjaxconsultertableauprestation.php diff --git a/Controleur/ControleurAjaxconsultertableauprestation.php b/Controleur/ControleurAjaxconsultertableauprestation.php new file mode 100644 index 0000000..9ebc0f3 --- /dev/null +++ b/Controleur/ControleurAjaxconsultertableauprestation.php @@ -0,0 +1,20 @@ +college_temp2 = new College_temp(); + } + + public function index() + { + $idCollegeTemp = $_SESSION['idCollegeTemp']; + + $tableau_prestations = $this->college_temp2->getPrestation($idCollegeTemp); + + $this->genererVueAjax(array('tableau_prestations' => $tableau_prestations)); + } +} \ No newline at end of file diff --git a/Js/fonctions.js b/Js/fonctions.js index b9dbe02..6c42779 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -1097,4 +1097,20 @@ function consulter_college(idCollege) { window.location.assign($("#racineWeb" ).val()+"Consultercollege/"+idCollege+"/"); } +} + +function pop_consulter_tableau_prestation() +{ + $.ajax({ + url: $("#racineWeb").val()+"Ajaxconsultertableauprestation/", + type : 'post', + error: function(errorData) { + }, + success: function(data) { + $("#div_tableau_prestation").html(data); + }, + complete: function() { + $("#btn_pop").click(); + } + }); } \ No newline at end of file diff --git a/Vue/gabarit.php b/Vue/gabarit.php index 8345daf..d50d2fd 100755 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -595,7 +595,7 @@ $activeChildId = $menuData['child']; - +