acte = new Detailtarifacte(); $this->prescription = new Prestationactes(); } public function index() { $idAdherent = $_SESSION['p_idAdherent_C']; $libelle = $this->requete->getParametreFormulaire("libelle"); if ($libelle=="vide" || $libelle=="") { $actes = $this->acte->getactesexamenvide(); }else{ $actes = $this->acte->getexamenspossibleshospitalisation($libelle); } //var_dump($actes);die(); $this->genererVueAjax(array('actes' => $actes)); } public function ajouterexamen() { $codeActe = $this->requete->getParametreFormulaire("codeActe"); $ententePrealable = $this->requete->getParametreFormulaire("ententePrealable"); $prixTarif = $this->requete->getParametreFormulaire("prixTarif"); $acteExclu = $this->requete->getParametreFormulaire("acteExclu"); $this->prescription->ajouterexamenhospitalisation($codeActe, $ententePrealable, $prixTarif, $acteExclu); //$this->executerAction("index"); } }