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

44 lines
1.4 KiB
PHP
Executable File

<?php
require_once 'Framework/Controleur.php';
require_once 'Modele/Familleacte.php';
require_once 'Modele/Menuvueutilisateur.php';
require_once 'Modele/Tarifsactes.php';
require_once 'Modele/Ouinon.php';
require_once 'Modele/Garantie.php';
require_once 'Modele/Typeprestation.php';
class ControleurModifierfamilleacte extends Controleur {
private $menuvue;
private $familleacte;
private $oui_non;
private $tarif;
private $garantie;
private $typeprestation;
public function __construct() {
$this->menuvue = new Menuvueutilisateur();
$this->menuvue->getMenuVue('Modifierfamilleacte');
$this->familleacte = new Familleacte();
$this->oui_non = new Ouinon();
$this->garantie = new Garantie();
$this->tarif = new Tarifsactes();
$this->typeprestation = new Typeprestation();
}
public function index()
{
$idFamilleacte = $this->requete->getParametreFormulaire("id");
$famillacte = $this->familleacte->getunefamilleacte($idFamilleacte);
$famille_hospitalisation = $this->oui_non->getListe();
$garanties = $this->garantie->getListePourActe();
$tarifs = $this->tarif->getListeCreation();
$typesprestation = $this->typeprestation->getListe();
$this->genererVue(array('famille_hospitalisation' => $famille_hospitalisation, 'garanties' => $garanties,
'tarifs' => $tarifs, 'typesprestation' => $typesprestation, 'famillacte' => $famillacte));
}
}