37 lines
1008 B
PHP
Executable File
37 lines
1008 B
PHP
Executable File
<?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));
|
|
}
|
|
}
|