typebon = new Typebon(); } public function index() { $typebon = $this->typebon->getListe(); $this->genererVueAjax(array('typebon' => $typebon)); } public function commanderBon() { $codeTypeBon = $this->requete->getParametreFormulaire("codeTypeBon"); $quantite = $this->requete->getParametreFormulaire("quantite", "numerique"); $commentaire = ""; $this->typebon->commanderbon($codeTypeBon, $quantite, $commentaire); $this->executerAction("index"); } }