radiantproduction/Controleur/ControleurAjaxrecapprimeadherentfamiliale.php

24 lines
867 B
PHP

<?php
require_once 'Framework/Controleur.php';
require_once 'Modele/Adherent_temp.php';
class ControleurAjaxrecapprimeadherentfamiliale extends Controleur {
private $adherent_temp;
public function __construct() {
$this->adherent_temp = new Adherent_temp();
}
public function index()
{
$idCollege = $this->requete->getParametreFormulaire("idCollege");
$dateEntree = $this->requete->getParametreDate("dateEntree");
$primeBase = $this->requete->getParametreFormulaire("primeBase", "numerique");
$codeTypeEcheancier = $this->requete->getParametreFormulaire("codeTypeEcheancier");
$primes_adherent_temp = $this->adherent_temp->recapadherentfamilialetemp($idCollege, $dateEntree, $primeBase, $codeTypeEcheancier);
$this->genererVueAjax(array('primes_adherent_temp' => $primes_adherent_temp));
}
}