public function execute()
 {
     $config = $this->getConfig();
     $tipoMantenimiento = new tipoMantenimientoTable($config);
     $this->objtipoMantenimiento = $tipoMantenimiento->getAll();
     $fecha1 = filter_input(INPUT_POST, 'fecha1');
     $fecha2 = filter_input(INPUT_POST, 'fecha2');
     $this->defineView('tipoMantenimiento', 'reporteConsulta', 'html');
 }
Exemplo n.º 2
0
 public function execute()
 {
     $config = $this->getConfig();
     $tipoMantenimiento = new tipoMantenimientoTable($config);
     $this->objtipoMantenimiento = $tipoMantenimiento->getAll();
     //    $reporte = filter_input(INPUT_POST, 'reporte');
     //    $reporte1= filter_input(INPUT_POST, 'reporte1');
     //    $reporte2 = filter_input(INPUT_POST, 'reporte2');
     //$this->objEntradaSalidaBodega = "select tercero_elabora_id,tercero_solicita_id,tipo_documento_id,fecha,observacion FROM  bda_entrada_salida_bodega  WHERE  fecha_reporte BETWEEN '2013-08-01'  AND '2013-08-31";
     //   if (empty($reporte)) {
     //      $this->objEntradaSalidaBodega = $entradaSalidaBodega->reporte($reporte,$reporte1, $reporte2);
     //    } else {
     //      $this->objEntradaSalidaBodega = $entradaSalidaBodega->getAll();
     //
     //    }
     $this->defineView('tipoMantenimiento', 'reporte', 'html');
 }