garant/Controleur/ControleurAjaxrequeteenteteprestationactes.php
2025-12-01 19:18:15 +00:00

22 lines
803 B
PHP

<?php
require_once 'Framework/Controleur.php';
require_once 'Modele/Typeprestation.php';
require_once 'Modele/Reponseententeprealable.php';
require_once 'Modele/Ouinon.php';
class ControleurAjaxrequeteenteteprestationactes extends Controleur {
private $typeprestation;
private $reponseententeprealable;
private $ouinon;
public function __construct() {
$this->typeprestation = (new Typeprestation())->getListe();
$this->ouinonfacture = (new Ouinon())->getListe();
$this->reponseententeprealable = (new Reponseententeprealable())->getListe();
}
public function index() {
$this->genererVueAjax(array('typeprestation' => $this->typeprestation, 'ouinonfacture' => $this->ouinonfacture,
'reponseententeprealable' => $this->reponseententeprealable));
}
}