menuvue = new Menuvueutilisateur(); $this->menuvue->getMenuVue('Facturesansboncso'); $this->facture = new Facturesansbon(); $this->ouinonhospit = (new Ouinon())->getListe(); } public function index() { $codePrestataire = $_SESSION['codePrestataire_C']; $this->facture->init_facture_sans_bon(); $facture = $this->facture->getfacture_sans_bon_temp(); $prestations = $this->facture->getprestations_sans_bon_temp(); $garantieadherent_temp = $this->facture->afficher_garantieadherent_temp(); $this->genererVue(array('facture' => $facture, 'prestations' => $prestations, 'garantieadherent_temp' => $garantieadherent_temp, 'ouinonhospit' => $this->ouinonhospit)); } }