menuvue = new Menuvueutilisateur(); $this->menuvue->getMenuVue('Initconsultation'); $codePrestataire = $_SESSION['p_codePrestataire_C']; $codeTypePrestation = "CONS"; $this->acte = new Detailtarifacte(); $this->bonpec = new Bonpec(); } public function index() { $codeTypePrestation = "CONS"; $codePrestataire = $_SESSION['p_codePrestataire_C']; $codeTypeBon = "CONS"; $nbBonsCons = $this->bonpec->getNbBonPrestataireDisponible($codePrestataire, $codeTypeBon); $codeGestionBon = $this->bonpec->getCodeGestionBonPrestataire(); $typeGestionbon = $this->bonpec->getGestionBon($codeGestionBon); $_SESSION['p_okId'] = "1"; $_SESSION['p_okId_face'] = "1"; $this->acte->settmtypeprestation($codeTypePrestation); $this->genererVue(array('nbBonsCons' => $nbBonsCons, 'codeGestionBon' => $codeGestionBon, 'typeGestionbon' => $typeGestionbon)); } }