menuvue = new Menuvueutilisateur(); $this->menuvue->getMenuVue('Seances'); $this->prescription = new Seance_temp(); $this->detailprescription = new Detailseance(); $this->bonpec = new Bonpec(); } public function index() { // $_SESSION['p_numeroBonSeance_C'] = "-1"; $codePrestataire = $_SESSION['p_codePrestataire_C']; $codeTypeBon = "CONS"; $nbBonsCons = $this->bonpec->getNbBonPrestataireDisponible($codePrestataire, $codeTypeBon); // $codeGestionBon = $this->bonpec->getCodeGestionBon($codeTypeBon); $codeGestionBon = $this->bonpec->getCodeGestionBonPrestataire(); $typeGestionbon = $this->bonpec->getGestionBon($codeGestionBon); $numeroPrescriptionKine = $_SESSION['p_numeroPrescriptionKine_C']; $this->prescription->initseancekine_cso($codeGestionBon); $prescription = $this->prescription->getseancetemp(); $_SESSION['p_numeroBonSeance_C'] = $prescription['numeroBonSeance']; $detailseances = $this->detailprescription->getdetailseancefeuille(); $this->genererVue(array('prescription' => $prescription, 'detailseances' => $detailseances, 'nbBonsCons' => $nbBonsCons, 'codeGestionBon' => $codeGestionBon, 'typeGestionbon' => $typeGestionbon)); } }