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

22 lines
625 B
PHP
Executable File

<?php
require_once 'Framework/Controleur.php';
require_once 'Modele/Garantieadherent.php';
class ControleurAjaxplafondavantfacturecdec extends Controleur {
private $garantieadherent;
public function __construct() {
$this->garantieadherent = new Garantieadherent();
}
public function index()
{
$idFacture = $this->requete->getParametreFormulaire("idFacture");
$_SESSION['p_idFacture_C'] = $idFacture;
$garantieadherents = $this->garantieadherent->getPlafondAvantFactureId($idFacture);
$this->genererVueAjax(array('garantieadherents' => $garantieadherents));
}
}