This commit is contained in:
KANE LAZENI 2026-01-04 13:34:06 +00:00
parent b43833aef2
commit f0c9520634

View File

@ -33,27 +33,13 @@ class ControleurCreerbeneficiaire extends Controleur {
$this->groupesanguin = (new Groupesanguin())->getListe(); $this->groupesanguin = (new Groupesanguin())->getListe();
$this->adherent = new Adherent(); $this->adherent = new Adherent();
$this->lienparente = (new Lienparente())->getListeDependant(); $this->lienparente = (new Lienparente())->getListeDependant();
/*
$this->tarif = new Tarif(); $this->tarif = new Tarif();
$this->avenant = (new Avenant())->getListeEnCours($_SESSION['idPolice_C']); $this->avenant = (new Avenant())->getListeEnCours($_SESSION['idPolice_C']);
$this->ouinonprorata = (new Ouinon())->getListe(); $this->ouinonprorata = (new Ouinon())->getListe();
$this->beneficiaire_temp = new Beneficiaire_temp(); $this->beneficiaire_temp = new Beneficiaire_temp();
*/
} }
public function index() public function index()
{
echo "ControleurCreerbeneficiaire";
exit();
$codeTypeContrat = $_SESSION['codeTypeContrat'];
if($codeTypeContrat=="F")
{
$this->rediriger("Creerbeneficiairefamiliale");
exit();
}
else
{ {
$idPolice = $_SESSION['idPolice_C']; $idPolice = $_SESSION['idPolice_C'];
$idAdherent = $_SESSION['idAdherent_C']; $idAdherent = $_SESSION['idAdherent_C'];
@ -76,7 +62,6 @@ class ControleurCreerbeneficiaire extends Controleur {
'groupesanguin' => $this->groupesanguin, 'lienparente' => $this->lienparente, 'avenant' => $this->avenant, 'groupesanguin' => $this->groupesanguin, 'lienparente' => $this->lienparente, 'avenant' => $this->avenant,
'ouinonprorata' => $this->ouinonprorata, 'beneficiaire_temp' => $beneficiaire_temp)); 'ouinonprorata' => $this->ouinonprorata, 'beneficiaire_temp' => $beneficiaire_temp));
} }
}
public function ajouter() { public function ajouter() {
$idAdherent = $this->requete->getParametre("idAdherent"); $idAdherent = $this->requete->getParametre("idAdherent");