Import initial du projet Production
This commit is contained in:
40
Controleur/ControleurHonoraire.php
Normal file
40
Controleur/ControleurHonoraire.php
Normal file
@@ -0,0 +1,40 @@
|
||||
<?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
|
||||
));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user