prescription = new Prescription_temp(); $this->detailprescription = new Detailprescription(); $this->prestation = new Prestationactes(); $this->dmd = new Demandesubstitution(); } public function index() { $numeroFeuilleMaladie = $_SESSION['p_numeroFeuilleMaladie_C']; $codePrestataire = $_SESSION['p_codePrestataire_C']; $numeroBonOrdonnance = $_SESSION['p_numeroBonOrdonnance_C']; $numeroPrescription = $_SESSION['p_numeroPrescription_C']; $prescription = $this->prescription->getprescription_pha($numeroBonOrdonnance); $detailprescriptions = $this->detailprescription->getdetailprescription_pha($numeroBonOrdonnance); $marges = $this->detailprescription->getMarges(); $detailnonlivres = $this->prescription->getdetailnonlivre(); // $detaillivres = $this->prescription->getdetaillivre(); $detaillivres = $this->prescription->getdetaillivrepha(); // $factures = $this->prescription->getfactures_ordonnance($numeroBonOrdonnance); $garantieadherent_temp = $this->prestation->getgarantieadherent_temp($numeroFeuilleMaladie, $codePrestataire); /* $this->genererVueAjax(array('prescription' => $prescription, 'detailprescriptions' => $detailprescriptions, 'detailnonlivres' => $detailnonlivres, 'detaillivres' => $detaillivres, 'garantieadherent_temp' => $garantieadherent_temp, 'factures' => $factures)); */ $this->genererVueAjax(array('prescription' => $prescription, 'detailprescriptions' => $detailprescriptions, 'detailnonlivres' => $detailnonlivres, 'detaillivres' => $detaillivres, 'garantieadherent_temp' => $garantieadherent_temp, 'marges' => $marges)); } }