t
This commit is contained in:
parent
ecef2c30d1
commit
82d7298d1c
20
Controleur/ControleurAjaxconsultertableauprestation.php
Normal file
20
Controleur/ControleurAjaxconsultertableauprestation.php
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
<?php
|
||||||
|
require_once 'Framework/Controleur.php';
|
||||||
|
require_once 'Modele/College_temp.php';
|
||||||
|
|
||||||
|
class ControleurAjaxconsultertableauprestation extends Controleur {
|
||||||
|
private $college_temp2;
|
||||||
|
|
||||||
|
public function __construct() {
|
||||||
|
$this->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));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -1097,4 +1097,20 @@ function consulter_college(idCollege)
|
||||||
{
|
{
|
||||||
window.location.assign($("#racineWeb" ).val()+"Consultercollege/"+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();
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
@ -595,7 +595,7 @@ $activeChildId = $menuData['child'];
|
||||||
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
|
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
|
||||||
|
|
||||||
<!-- Application Scripts -->
|
<!-- Application Scripts -->
|
||||||
<script src="/Js/fonctions.js?ver=2025.12.31.11"></script>
|
<script src="/Js/fonctions.js?ver=2025.12.31.12"></script>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
setInterval(function() {
|
setInterval(function() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user