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

26 lines
684 B
PHP
Executable File

<?php
require_once 'Framework/Controleur.php';
require_once 'Modele/Feuillemaladie.php';
class ControleurAjaxfeuillemaladie extends Controleur {
private $feuillemaladie;
public function __construct() {
$this->feuillemaladie = new Feuillemaladie();
}
public function index()
{
$contestation = $this->feuillemaladie->getContestationFeuille();
$this->genererVueAjax(array('contestation' => $contestation));
}
public function avishopitalisation()
{
$avisHospitalisation = $this->feuillemaladie->getAvisHospitalisationFeuille();
$this->genererVueAjax(array('avisHospitalisation' => $avisHospitalisation));
}
}