49 lines
1.2 KiB
PHP
Executable File
49 lines
1.2 KiB
PHP
Executable File
<?php
|
|
require_once 'Framework/Controleur.php';
|
|
//require_once 'Modele/Produit.php';
|
|
require_once $_SESSION['dossierSociete'].'/Tarifs/Modele/College_temp.php';
|
|
|
|
class ControleurAjaxplafondfamilleproduit extends Controleur {
|
|
private $college_temp;
|
|
//private $produit;
|
|
|
|
public function __construct() {
|
|
$this->college_temp = new College_temp();
|
|
//$this->produit = new Produit();
|
|
}
|
|
|
|
public function index() {
|
|
|
|
$codeProduit = $this->requete->getParametreFormulaire('codeProduit');
|
|
$codeGcAssureur = $this->requete->getParametreFormulaire('codeGcAssureur');
|
|
|
|
|
|
$plafondAdherent = $this->college_temp->getPlafondFamille($codeProduit,$codeGcAssureur);
|
|
|
|
|
|
$this->genererVueAjax(array(
|
|
'plafondAdherent' => $plafondAdherent
|
|
));
|
|
|
|
}
|
|
|
|
public function initbareme()
|
|
{
|
|
$idBaremePriseEnCharge = $this->requete->getParametreFormulaire('idBaremePriseEnCharge');
|
|
|
|
$this->college_temp->initbaremecollege($idBaremePriseEnCharge);
|
|
|
|
}
|
|
|
|
/*
|
|
public function initbareme()
|
|
{
|
|
$idBaremePriseEnCharge = $this->requete->getParametreFormulaire('idBaremePriseEnCharge');
|
|
|
|
$this->college_temp->initbaremecollege($idBaremePriseEnCharge);
|
|
|
|
}
|
|
*/
|
|
}
|
|
|
|
|