31 lines
747 B
PHP
Executable File
31 lines
747 B
PHP
Executable File
<?php
|
|
|
|
require_once 'Framework/Controleur.php';
|
|
require_once 'Modele/Menuvueutilisateur.php';
|
|
require_once 'Modele/Gestionconfiee.php';
|
|
|
|
class ControleurGcfraisgestion extends Controleur
|
|
{
|
|
private $gc;
|
|
|
|
public function __construct()
|
|
{
|
|
$this->menuvue = new Menuvueutilisateur();
|
|
$this->menuvue->getMenuVue('Gcfraisgestion');
|
|
|
|
$this->gc = new Gestionconfiee();
|
|
}
|
|
|
|
public function index()
|
|
{
|
|
$idEnteteGcFraisgestion = $_SESSION['idEnteteGcFraisgestion'];
|
|
|
|
$this->gc->recapfraisgestion($idEnteteGcFraisgestion);
|
|
|
|
$entetefraisgestion = $this->gc->getentetefraisgestion($idEnteteGcFraisgestion);
|
|
|
|
$this->genererVue(array('entetefraisgestion' => $entetefraisgestion));
|
|
}
|
|
}
|
|
|