22 lines
625 B
PHP
22 lines
625 B
PHP
<?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));
|
|
}
|
|
}
|