prestation/Controleur/ControleurRecaplimiteadd.php
2025-12-05 10:42:46 +00:00

27 lines
815 B
PHP
Executable File

<?php
require_once 'Framework/Controleur.php';
require_once 'Modele/Police.php';
require_once 'Modele/College_temp.php';
class ControleurRecaplimiteadd extends Controleur {
private $menuvue;
private $avenant;
private $college_temp;
public function __construct() {
$this->avenant = new Police();
$this->college_temp = new College_temp();
}
public function index()
{
$idPolice = $_SESSION['idPolice_C'];
$this->avenant->recapituler_maj_limite_police();
$avenant = $this->avenant->getAvenantTemp($idPolice);
$colleges = $this->college_temp->getCollegesPolice();
$totalcollege = $this->college_temp->getTotaldcollege($idPolice);
$this->genererVueAjax(array('avenant' => $avenant, 'colleges' => $colleges, 'totalcollege' => $totalcollege));
}
}