26 lines
658 B
PHP
Executable File
26 lines
658 B
PHP
Executable File
<?php
|
|
require_once 'Framework/Controleur.php';
|
|
require_once 'Modele/Garantieadherent.php';
|
|
|
|
class ControleurAjaxactesplafonnesbeneficiaire extends Controleur {
|
|
private $garantieadherent;
|
|
|
|
public function __construct() {
|
|
$this->garantieadherent = new Garantieadherent();
|
|
}
|
|
|
|
public function index() {
|
|
|
|
$idAdherent = $this->requete->getParametreFormulaire("idAdherent");
|
|
$idBeneficiaire = $this->requete->getParametreFormulaire("idBeneficiaire");
|
|
|
|
$actes = $this->garantieadherent->getBaremePlafondAdherent($idAdherent, $idBeneficiaire);
|
|
|
|
|
|
$this->genererVueAjax(array('actes' => $actes));
|
|
|
|
|
|
}
|
|
}
|
|
|