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

43 lines
1.2 KiB
PHP
Executable File

<?php
require_once 'Framework/Controleur.php';
require_once 'Modele/Tarifsactes.php';
require_once 'Modele/Menuvueutilisateur.php';
require_once 'Modele/Familleacte.php';
require_once 'Modele/Police.php';
require_once 'Modele/Prestataire.php';
class ControleurCompositiontarifactespoliceprestataire extends Controleur
{
private $menuvue;
private $tarif;
private $familleacte;
private $police;
private $prestataire;
public function __construct() {
$this->menuvue = new Menuvueutilisateur();
$this->menuvue->getMenuVue('Compositiontarifactespoliceprestataire');
$this->tarif = new Tarifsactes();
$this->familleacte = new Familleacte();
$this->police = new Police();
$this->prestataire = new Prestataire();
}
public function index()
{
$tarifs = $this->tarif->getTarifPolicePrestataire();
$familleacte = $this->familleacte->getListeComposanteTarif();
$polices = $this->police->getListePoliceTarifAutre();
$prestataires = $this->prestataire->getListePrestataireTarifAutre();
$this->genererVue(array('tarifs' => $tarifs,
'familleacte' => $familleacte,
'polices' => $polices,
'prestataires' => $prestataires
));
}
}