prestation/Controleur/ControleurPlafondavantfacturekinecso.php
2025-12-05 10:42:46 +00:00

26 lines
781 B
PHP
Executable File

<?php
require_once 'Framework/Controleur.php';
require_once 'Modele/Menuvueutilisateur.php';
require_once 'Modele/Garantieadherent.php';
class ControleurPlafondavantfacturekinecso extends Controleur {
private $menuvue;
private $garantieadherent;
public function __construct() {
$this->menuvue = new Menuvueutilisateur();
$this->menuvue->getMenuVue('Plafondavantfacturekinecso');
$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));
}
}