acte = new Detailtarifacte(); } public function index($nomsearch="") { if ($this->requete->existeParametre("valid")) { $idAdherent = $_SESSION['p_idAdherent_C']; $codeTarifActe = $this->acte->getTarifActeAdherent($idAdherent); $_SESSION['p_codeTarifActe_C'] = $codeTarifActe; //$codeTarifActe = $_SESSION['p_codeTarifActe_C']; //var_dump($codeTarifActe); $codeTypePrestation = "EXAM"; $codeFamilleActe = "FA011"; $libelleActeSearch = $this->requete->getParametreFormulaire("libelleActeSearch"); $actes_pop = $this->acte->getexamenspossibleslikeprescription($codeTarifActe, $libelleActeSearch, $codeFamilleActe) ; } elseif ($this->requete->existeParametre("bio")) { $idAdherent = $_SESSION['p_idAdherent_C']; $codeTarifActe = $this->acte->getTarifActeAdherent($idAdherent); $_SESSION['p_codeTarifActe_C'] = $codeTarifActe; //$codeTarifActe = $_SESSION['p_codeTarifActe_C']; //var_dump($codeTarifActe); $codeTypePrestation = "EXAM"; $codeFamilleActe = "FA003"; $libelleActeSearch = $this->requete->getParametreFormulaire("libelleActeSearch"); $actes_pop = $this->acte->getexamenspossibleslikeprescription($codeTarifActe, $libelleActeSearch, $codeFamilleActe) ; }elseif ($this->requete->existeParametre("ima")) { $idAdherent = $_SESSION['p_idAdherent_C']; $codeTarifActe = $this->acte->getTarifActeAdherent($idAdherent); $_SESSION['p_codeTarifActe_C'] = $codeTarifActe; //$codeTarifActe = $_SESSION['p_codeTarifActe_C']; //var_dump($codeTarifActe); $codeTypePrestation = "EXAM"; $codeFamilleActe = "FA002"; $libelleActeSearch = $this->requete->getParametreFormulaire("libelleActeSearch"); $actes_pop = $this->acte->getexamenspossibleslikeprescription($codeTarifActe, $libelleActeSearch, $codeFamilleActe) ; }else { $actes_pop = $this->acte->getactesvide(); } $this->genererVueAjax(array('actes_pop' => $actes_pop, 'libelleActeSearch' => $libelleActeSearch)); } }