drt
This commit is contained in:
@@ -2,22 +2,22 @@
|
||||
require_once 'Framework/Controleur.php';
|
||||
require_once 'Modele/Menuvueutilisateur.php';
|
||||
require_once 'Modele/Baremeaccessoiregarant.php';
|
||||
require_once 'Modele/Gestionconfiee.php';
|
||||
|
||||
class ControleurBaremeaccessoiregarant extends Controleur {
|
||||
private $menuvue;
|
||||
private $bareme;
|
||||
private $garant;
|
||||
|
||||
public function __construct() {
|
||||
$this->menuvue = new Menuvueutilisateur();
|
||||
$this->menuvue->getMenuVue("Baremeaccessoiregarant");
|
||||
$this->bareme = new Baremeaccessoiregarant();
|
||||
$this->bareme = new Baremeaccessoiregarant();
|
||||
$this->garant = (new Gestionconfiee())->getListe();
|
||||
}
|
||||
|
||||
public function index() {
|
||||
$garant = $this->bareme->getgarant();
|
||||
$chemin = $this->menuvue->getChemin('Baremeaccessoiregarant');
|
||||
|
||||
|
||||
$this->genererVue(array('garant' => $garant, 'chemin' => $chemin, 'chemin' => $chemin));
|
||||
|
||||
$this->genererVue(array('garant' => $this->garant));
|
||||
}
|
||||
}
|
||||
@@ -30,8 +30,6 @@ class ControleurProduits extends Controleur {
|
||||
|
||||
$produits = $this->produit->getTousProduitsGarant($codeGcAssureur);
|
||||
|
||||
|
||||
|
||||
$this->genererVue(array('produits' => $produits, 'garant' => $this->garant));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user