prescription = new Seance_temp(); } public function index() { /* $codePrestataire = $_SESSION['p_codePrestataire_C']; $numeroFeuilleMaladie = $_SESSION['p_numeroFeuilleMaladie_C']; */ $numeroBonKine = $_SESSION['p_numeroBonKine_C']; $prescription = $this->prescription->getprescription_sea($numeroBonKine); $this->genererVueAjax(array('prescription' => $prescription)); } public function modifierseancecso() { $quantite = $this->requete->getParametreFormulaire("quantite", "numerique"); $prixActe = $this->requete->getParametreFormulaire("prixActe", "numerique"); $fraisReel = round($prixActe*$quantite); $montantTm = round(($fraisReel*$_SESSION['p_tm_C'])/100); $aRembourser = $fraisReel-$montantTm; $this->prescription->modifierseancecso($quantite, $fraisReel, $montantTm, $aRembourser); } public function facturerseance() { $this->prescription->facturerseance(); } }