예제 #1
0
 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');
 }
예제 #2
0
 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');
 }
예제 #3
0
 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');
 }