function listaordenes() { $ordenVenta = new OrdenVenta(); $data['ordenVenta'] = $ordenVenta->listaOrdenesGeneral(); $data['FormaPago'] = $this->formaPago(); $this->view->show("/ventas/ordenesgeneral.phtml", $data); }