26 lines
775 B
PHP
26 lines
775 B
PHP
<?php
|
|
require_once 'Framework/Controleur.php';
|
|
require_once 'Modele/Menuvueutilisateur.php';
|
|
require_once 'Modele/Garantieadherent.php';
|
|
|
|
class ControleurPlafondavantfacturekine extends Controleur {
|
|
private $menuvue;
|
|
private $garantieadherent;
|
|
|
|
public function __construct() {
|
|
$this->menuvue = new Menuvueutilisateur();
|
|
$this->menuvue->getMenuVue('Plafondavantfacturekine');
|
|
|
|
$this->garantieadherent = new Garantieadherent();
|
|
}
|
|
|
|
public function index()
|
|
{
|
|
$idFacture = $this->requete->getParametreFormulaire("id");
|
|
$_SESSION['p_idFacture_C'] = $idFacture;
|
|
|
|
$garantieadherents = $this->garantieadherent->getPlafondAvantFactureId($idFacture);
|
|
|
|
$this->genererVue(array('garantieadherents' => $garantieadherents));
|
|
}
|
|
} |