production/Controleur/ControleurAjaxactesplafonnesbeneficiaire.php
2025-12-02 11:29:44 +00:00

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));
}
}