menuvue = new Menuvueutilisateur(); $this->menuvue->getMenuVue('Creerundossierclassiquepolice'); $this->facture = new Facture(); $this->ouinonhospit = (new Ouinon())->getListe(); $this->raison = (new Raisonconsultation())->getListeFiltre(); $this->lienbeneficiaire = (new Lienbeneficiaire())->getListe(); $this->liendemandeur = (new Lienbeneficiaire())->getListe(); $this->modepaiement = (new Pmodepaiement())->getListe(); $this->banque = new Banque(); $this->prestataire = new Prestataire(); $this->beneficiaire = new Beneficiaire(); $this->affection = new Affection(); } public function index() { $idDossierClassiquePolice = $_SESSION['idDossierClassiquePolice']; $dossierpolice = $this->facture->getdossierclassiquepolice($idDossierClassiquePolice); $this->prestataire->re_init(); $idBeneficiaire = $_SESSION['idBeneficiaire_C']; $this->beneficiaire->getContexteBeneficiaireId($idBeneficiaire); $banque = $this->banque->getListe(); $affections = $this->affection->getListeAffections(); $this->genererVue(array('lienbeneficiaire' => $this->lienbeneficiaire, 'liendemandeur' => $this->liendemandeur, 'modepaiement' => $this->modepaiement, 'banque' => $banque, 'raison' => $this->raison, 'ouinonhospit' => $this->ouinonhospit, 'dossierpolice' => $dossierpolice, 'affections' => $affections)); } public function getlistepypeprestatairelike() { $banque = $this->banque->getListe(); $prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); $this->genererVue(array('lienbeneficiaire' => $this->lienbeneficiaire, 'liendemandeur' => $this->liendemandeur, 'modepaiement' => $this->modepaiement, 'banque' => $banque, 'raison' => $this->raison, 'ouinonhospit' => $this->ouinonhospit)); } }