diff --git a/protected/controllers/ReportesController.php b/protected/controllers/ReportesController.php index d299ede0..ad7bef09 100644 --- a/protected/controllers/ReportesController.php +++ b/protected/controllers/ReportesController.php @@ -49,7 +49,7 @@ public function actionDiagramaCaja($pnivel, $pcargo, $pcarrera, $pdepartamento) $where = 'ap.cargo = \''.$pcargo.'\''; if($pnivel AND $pcargo!='Laboratorio'){ - $titulo .= $pnivel.' de nivel '; + $titulo .= ' de '.$pnivel.' nivel '; $where .= ' and a.nivel = '.$pnivel; } diff --git a/protected/views/layouts/main.php b/protected/views/layouts/main.php index acbf9cde..57c706eb 100644 --- a/protected/views/layouts/main.php +++ b/protected/views/layouts/main.php @@ -65,6 +65,7 @@ )), array('label' => 'Reportes', 'url' => array(''), 'items' => array( + array('label'=>'Generales', 'url'=>array('/reportes/diagramacaja', 'pnivel'=>'', 'pcargo'=>'Titular', 'pcarrera'=>'', 'pdepartamento'=>'', )), array('label'=>'Datos Generales', 'url'=>array('/reportes/index', 'view'=>'about')), array('label'=>'Avances', 'url'=>array('/reportes/avances', 'view'=>'about')), array('label'=>'Generales x Encuestas', 'url'=>array('/reportes/generalesPorEncuestas', 'view'=>'about')), diff --git a/protected/views/reportes/diagramaCaja.php b/protected/views/reportes/diagramaCaja.php index 398a911f..19fc9e18 100644 --- a/protected/views/reportes/diagramaCaja.php +++ b/protected/views/reportes/diagramaCaja.php @@ -1,6 +1,82 @@ breadcrumbs=array('Reportes'); $this->menu=array();?> + +