menuvue = new Menuvueutilisateur(); $this->menuvue->getMenuVue('Consultation'); $codePrestataire = $_SESSION['p_codePrestataire_C']; $codeTypePrestation = "CONS"; $this->feuillemaladie = new Feuillemaladie(); $this->familleacte = (new Familleacte())->getListe($codeTypePrestation); $this->acte = new Detailtarifacte(); $this->raison = (new Raisonconsultation())->getListe(); $this->bonpec = new Bonpec(); $this->specialite = (new Specialite())->getListe(); $this->prestation = new Prestationactes(); } public function index() { $numeroFeuilleMaladie = $_SESSION['p_numeroFeuilleMaladie_C']; $codeTypePrestation = "CONS"; $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); $_SESSION['p_okId'] = "1"; $_SESSION['p_okId_face'] = "1"; $this->acte->settmtypeprestation($codeTypePrestation); $feuillemaladie = $this->feuillemaladie->getfeuillemaladie($numeroFeuilleMaladie); $acteconsultation = $this->prestation->getconsultationfeuille($numeroFeuilleMaladie, $codePrestataire); $codeFamilleActe = $acteconsultation['codeFamilleActe']; $acte = $this->acte->getactespossibles($codeTypePrestation, $codeFamilleActe); $this->genererVue(array('feuillemaladie' => $feuillemaladie, 'familleacte' => $this->familleacte, 'acte' => $acte, 'raison' => $this->raison, 'nbBonsCons' => $nbBonsCons, 'codeGestionBon' => $codeGestionBon, 'typeGestionbon' => $typeGestionbon, 'specialite' => $this->specialite, 'acteconsultation' => $acteconsultation)); } }