prescription = new Prescription(); } public function index() { $this->genererVueAjax(); } public function enregistrerprescription() { $numeroBon = $this->requete->getParametreFormulaire("numeroBon"); $codeMedecin = $this->requete->getParametreFormulaire("codeMedecin"); $codeGestionBon = $this->requete->getParametreFormulaire("codeGestionBon"); $this->prescription->enregistrerprescription($numeroBon, $codeMedecin, $codeGestionBon); // $this->executerAction("index"); } public function envoieprescription() { $numeroBon = $this->requete->getParametreFormulaire("numeroBon"); $codeMedecin = $this->requete->getParametreFormulaire("codeMedecin"); $codeGestionBon = $this->requete->getParametreFormulaire("codeGestionBon"); $this->prescription->envoieprescription($numeroBon, $codeMedecin, $codeGestionBon); } public function noprescription() { $this->prescription->noprescription(); } }