detailtarifacte = new Detailtarifacte(); } public function index() { $codeTarifActe = $this->requete->getParametreFormulaire("codeTarifActe"); $idCollege = $this->requete->getParametreFormulaire("idCollege"); $idPolice = $this->requete->getParametreFormulaire("idPolice"); $_SESSION['idPolice_C'] = $idPolice; $_SESSION['codeTarifActe_C'] = $codeTarifActe; $_SESSION['idCollege_C'] = $idCollege; $prestatairesdispo = $this->detailtarifacte->getCollegePrestatairesDisponible($idCollege, $codeTarifActe); $prestatairetarif = $this->detailtarifacte->getCollegePrestatairesTarifes($idCollege, $codeTarifActe); $this->genererVueAjax(array('prestatairesdispo' => $prestatairesdispo, 'prestatairetarif' => $prestatairetarif)); } public function ajoutertousprestataires() { $codeTarifActe = $this->requete->getParametreFormulaire("codeTarifActe"); $idCollege = $this->requete->getParametreFormulaire("idCollege"); $this->detailtarifacte->ajouterTousPrestatairesTarifCollege($idCollege, $codeTarifActe); $this->executerAction("index"); } public function ajouterunprestataire() { $codeTarifActe = $this->requete->getParametreFormulaire("codeTarifActe"); $idCollege = $this->requete->getParametreFormulaire("idCollege"); $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); $this->detailtarifacte->ajouterUnPrestataireTarifCollege($idCollege, $codeTarifActe, $codePrestataire); $this->executerAction("index"); } public function retirertousprestataires() { $codeTarifActe = $this->requete->getParametreFormulaire("codeTarifActe"); $idCollege = $this->requete->getParametreFormulaire("idCollege"); $this->detailtarifacte->retirerTousPrestatairesTarifCollege($idCollege, $codeTarifActe); $this->executerAction("index"); } public function retirerunprestataire() { $codeTarifActe = $this->requete->getParametreFormulaire("codeTarifActe"); $idCollege = $this->requete->getParametreFormulaire("idCollege"); $codePrestataire = $this->requete->getParametreFormulaire("codePrestataire"); $this->detailtarifacte->retirerUnPrestataireTarifCollege($idCollege, $codeTarifActe, $codePrestataire); $this->executerAction("index"); } }