menuvue = new Menuvueutilisateur(); $this->menuvue->getMenuVue('Factureclassique'); $this->facture = new Facture(); $this->prestation = new Prestationactes(); $this->beneficiaire = new Beneficiaire(); $this->motifecxlusionprestation = new Motifecxlusionprestation(); } public function index() { $idBeneficiaire = $_SESSION['idBeneficiaire_C']; $idDossierClassique = $_SESSION['idDossierClassique'] ; $dossier = $this->facture->getdossierclassique($idDossierClassique); $this->facture->init_facture_classique(); $facture = $this->facture->getfactureclassique_temp(); $prestations = $this->facture->getprestationsclassiques_temp(); $garantieadherent_temp = $this->facture->afficher_garantieadherent_temp(); $this->beneficiaire->controlerplafondbeneficiaireannuel($idBeneficiaire); $limite_beneficiaire = $this->prestation->getLimitesBeneficiaireTempAssureur(); $motifecxlusions = $this->motifecxlusionprestation->getListe(); $motifrejets = $this->motifecxlusionprestation->getListe(); $this->genererVue(array('facture' => $facture, 'prestations' => $prestations, 'garantieadherent_temp' => $garantieadherent_temp, 'dossier' => $dossier, 'limite_beneficiaire' => $limite_beneficiaire, 'motifecxlusions' => $motifecxlusions, 'motifrejets' => $motifrejets)); } }