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']; - +