Import initial du projet prestation
This commit is contained in:
36
Controleur/ControleurGcfacturescumul.php
Normal file
36
Controleur/ControleurGcfacturescumul.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
require_once 'Framework/Controleur.php';
|
||||
require_once 'Modele/Menuvueutilisateur.php';
|
||||
require_once 'Modele/Periode.php';
|
||||
require_once 'Modele/Exercice.php';
|
||||
require_once 'Modele/Gestionconfiee.php';
|
||||
|
||||
class ControleurGcfacturescumul extends Controleur
|
||||
{
|
||||
private $periode;
|
||||
private $exercice;
|
||||
private $gc;
|
||||
|
||||
private $menuvue;
|
||||
public function __construct()
|
||||
{
|
||||
$this->menuvue = new Menuvueutilisateur();
|
||||
$this->menuvue->getMenuVue('Gcfacturescumul');
|
||||
|
||||
$this->gc = new Gestionconfiee();
|
||||
|
||||
$this->periode = (new Periode)->getListe();
|
||||
$this->exercice = (new Exercice())->getListe();
|
||||
|
||||
$this->periode2 = (new Periode)->getListe();
|
||||
$this->exercice2 = (new Exercice())->getListe();
|
||||
}
|
||||
|
||||
public function index()
|
||||
{
|
||||
$gc = $this->gc->getListe() ;
|
||||
|
||||
$this->genererVue(array('gc' => $gc, 'periode' => $this->periode, 'exercice' => $this->exercice, 'periode2' => $this->periode2, 'exercice2' => $this->exercice2));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user