public function execute() { $config = $this->getConfig(); $tercero = new terceroTable($config); $this->objtercero = $tercero->getAll(); // asà declaramos la vista a usar $this->defineView('tercero', 'reporte', 'html'); }
public function execute() { $id = filter_input(INPUT_GET, 'id'); $config = $this->getConfig(); $entradaBodega = new entradaSalidaBodegaTable($config); $tercero = new terceroTable($config); $this->objTercero = $tercero->getAll(); $this->objEntradaBodega = $entradaBodega->getById($id); $this->objEntradaBodegaD = $entradaBodega->getByIdDetall($id); $this->defineView('entradaBodega', 'editar', 'html'); }
public function execute() { $config = $this->getConfig(); $entradaBodga = new entradaSalidaBodegaTable($config); $this->objEntradaBodega = $entradaBodga->consById(); $tercero = new terceroTable($config); $this->objTercero = $tercero->getAll(); $producto = new productoTable($config); $this->objProducto = $producto->getAll(); $unm = new unidadMedidaTable($config); $this->objUnm = $unm->getAll(); $this->defineView('entradaBodega', 'nuevo', 'html'); }