Initial commit for radiantprestation project
This commit is contained in:
21
Controleur/ControleurReceptionbons.php
Normal file
21
Controleur/ControleurReceptionbons.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
require_once 'Framework/Controleur.php';
|
||||
require_once 'Modele/Typebon.php';
|
||||
require_once 'Modele/Etatbon.php';
|
||||
require_once 'Modele/Menuvueutilisateur.php';
|
||||
|
||||
class ControleurReceptionbons extends Controleur {
|
||||
|
||||
public function __construct() {
|
||||
$this->menuvue = new Menuvueutilisateur();
|
||||
$this->menuvue->getMenuVue('Receptionbons');
|
||||
|
||||
$this->typebon = (new Typebon())->getListe();
|
||||
$this->etatbon = (new Etatbon())->getListe();
|
||||
}
|
||||
|
||||
public function index()
|
||||
{
|
||||
$this->genererVue(array('typebon' => $this->typebon, 'etatbon' => $this->etatbon));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user