40 lines
1.3 KiB
PHP
Executable File
40 lines
1.3 KiB
PHP
Executable File
<?php
|
|
require_once 'Framework/Controleur.php';
|
|
require_once 'Modele/Menuvueutilisateur.php';
|
|
require_once 'Modele/Facturegarant.php';
|
|
|
|
class ControleurHonoraire extends Controleur
|
|
{
|
|
private $menuvue;
|
|
private $facture;
|
|
|
|
public function __construct() {
|
|
$this->menuvue = new Menuvueutilisateur();
|
|
$this->menuvue->getMenuVue("Honoraire");
|
|
|
|
$this->facture = new Facturegarant();
|
|
|
|
}
|
|
public function index()
|
|
{
|
|
$chemin = $this->menuvue->getChemin('Honoraire');
|
|
|
|
$this->facture->initFiltreFactureGarant();
|
|
|
|
$listeGarants = $this->facture->getFactureGarant();
|
|
$nbreGarantsSelection = $this->facture->getNbreGarantsSelection();
|
|
|
|
$choixTousGarant = $this->facture->getChoixTousGarants();
|
|
|
|
$listeTypeFacture = $this->facture->getTypeFactureGarantTemp();
|
|
$nbreTypeFacSelection = $this->facture->getNbreTypesFactureSelection();
|
|
|
|
$choixTousTypesFacture = $this->facture->getChoixTousTypesFacture();
|
|
|
|
$this->genererVue(array('chemin' => $chemin, 'listeGarants' => $listeGarants,
|
|
'listeTypeFacture' => $listeTypeFacture, 'choixTousGarant' => $choixTousGarant,
|
|
'nbreGarantsSelection' => $nbreGarantsSelection, 'nbreTypeFacSelection' => $nbreTypeFacSelection,
|
|
'choixTousTypesFacture' => $choixTousTypesFacture
|
|
));
|
|
}
|
|
} |