33 lines
889 B
PHP
Executable File
33 lines
889 B
PHP
Executable File
<?php
|
|
require_once 'Framework/Controleur.php';
|
|
require_once 'Modele/Menuvueutilisateur.php';
|
|
require_once 'Modele/Facturegarant.php';
|
|
|
|
class ControleurFichegroupefacturegarant extends Controleur
|
|
{
|
|
private $menuvue;
|
|
private $facture;
|
|
|
|
|
|
public function __construct() {
|
|
$this->menuvue = new Menuvueutilisateur();
|
|
$this->menuvue->getMenuVue("Fichegroupefacturegarant");
|
|
$this->facture = new Facturegarant();
|
|
|
|
|
|
}
|
|
public function index()
|
|
{
|
|
|
|
$idGroupeFacturegarant = $_SESSION['idGroupeFacturegarant_F'];
|
|
|
|
$groupefacturegarant = $this->facture->getGroupeFactureGarantID($idGroupeFacturegarant);
|
|
|
|
$facturesgarant = $this->facture->getEntetesFacturesGarant($idGroupeFacturegarant);
|
|
|
|
$this->genererVue(array(
|
|
'groupefacturegarant' => $groupefacturegarant,
|
|
'facturesgarant' => $facturesgarant
|
|
));
|
|
}
|
|
} |