menuvue = new Menuvueutilisateur(); $this->menuvue->getMenuVue('Monture'); $this->prescription = new Optique_temp(); $this->beneficiaire = new Beneficiaire(); $this->prestation = new Prestationactes(); $_SESSION['p_okId'] = "-1"; $this->finger = new Finger(); $_SESSION['p_codeTypeFacture_C'] = "MON"; } public function index() { $_SESSION['p_nbActesVerres'] = "0"; $_SESSION['p_nbActesMonture'] = "0"; $idBeneficiaire = $_SESSION['p_idBeneficiaire_C']; $codePrestataire = $_SESSION['p_codePrestataire_C']; $this->prescription->initmonture(); $prescription = $this->prescription->getmonture_temp(); $detaillivres = $this->prescription->getdetailmonture_temp(); $user_id = $_SESSION['p_user_id_C']; $this->finger->vider_finger_temp($user_id); $garantieadherent_temp = $this->prescription->afficher_garantieadherent_temp_monture(); $this->beneficiaire->controlerplafondbeneficiaireannuel($idBeneficiaire); $limite_beneficiaire = $this->prestation->getLimitesBeneficiaireTempMonture(); $this->genererVue(array('prescription' => $prescription, 'detaillivres' => $detaillivres, 'garantieadherent_temp' => $garantieadherent_temp, 'limite_beneficiaire' => $limite_beneficiaire)); } }