detailtarifacte = new Detailtarifacte(); } public function index() { $codeTarifActe = $this->requete->getParametreFormulaire("codeTarifActe"); $idAdherent = $this->requete->getParametreFormulaire("idAssure"); $numeroAdherent = $this->requete->getParametreFormulaire("numeroAdherent"); $adherent = $this->requete->getParametreFormulaire("nomAssure"); $nomPolice = $this->requete->getParametreFormulaire("nomPolice"); $nomCollege = $this->requete->getParametreFormulaire("nomCollege"); $codeLienParente = $this->requete->getParametreFormulaire("codeLienParente"); $_SESSION['codeTarifActe_C'] = $codeTarifActe; $_SESSION['idAdherent_C'] = $idAdherent; $_SESSION['numeroAdherent_C'] = $numeroAdherent; $_SESSION['adherent_C'] = $adherent; $_SESSION['nomPolice_C'] = $nomPolice; $_SESSION['nomCollege_C'] = $nomCollege; $_SESSION['codeLienParente_C'] = $codeLienParente; $prestatairesdispo = $this->detailtarifacte->getAdherentPrestatairesDisponible($idAdherent, $codeTarifActe); $prestatairetarif = $this->detailtarifacte->getAdherentPrestatairesTarifes($idAdherent, $codeTarifActe); $this->genererVueAjax(array('prestatairesdispo' => $prestatairesdispo, 'prestatairetarif' => $prestatairetarif)); } public function ajoutertousprestataires() { $codeTarifActe = $this->requete->getParametreFormulaire("codeTarifActe"); $idAdherent = $this->requete->getParametreFormulaire("idAssure"); $this->detailtarifacte->ajouterTousPrestatairesTarifAdherent($idAdherent, $codeTarifActe); $this->executerAction("index"); } public function ajouterunprestataire() { $codeTarifActe = $this->requete->getParametreFormulaire("codeTarifActe"); $idAdherent = $this->requete->getParametreFormulaire("idAssure"); $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); $this->detailtarifacte->ajouterUnPrestataireTarifAdherent($idAdherent, $codeTarifActe, $codePrestataire); $this->executerAction("index"); } public function retirertousprestataires() { $codeTarifActe = $this->requete->getParametreFormulaire("codeTarifActe"); $idAdherent = $this->requete->getParametreFormulaire("idAssure"); $this->detailtarifacte->retirerTousPrestatairesTarifAdherent($idAdherent, $codeTarifActe); $this->executerAction("index"); } public function retirerunprestataire() { $codeTarifActe = $this->requete->getParametreFormulaire("codeTarifActe"); $idAdherent = $this->requete->getParametreFormulaire("idAssure"); $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); $this->detailtarifacte->retirerUnPrestataireTarifAdherent($idAdherent, $codeTarifActe, $codePrestataire); $this->executerAction("index"); } }