/**
  * This is the default 'index' action that is invoked
  * when an action is not explicitly requested by users.
  */
 public function actionIndex()
 {
     GenericFunctions::validarSession();
     $cs = Yii::app()->getclientScript();
     //$cs->registerCssFile(Yii::app()->params["baseUrl"].'/css/plugins/pickadate/default.css?a='. Yii::app()->params['assets'],'screen, projection');
     //$cs->registerCssFile(Yii::app()->params["baseUrl"].'/css/plugins/pickadate/classic.date.css?a='. Yii::app()->params['assets'],'screen, projection');
     //$cs->registerCssFile(Yii::app()->params["baseUrl"].'/css/pages/index.css?a='. Yii::app()->params['assets'],'screen, projection');
     //$cs->registerScriptFile(Yii::app()->params["baseUrl"].'/js/plugins/pickadate/picker.js?a='. Yii::app()->params['assets'],CClientScript::POS_END);
     //$cs->registerScriptFile(Yii::app()->params["baseUrl"].'/js/plugins/pickadate/picker.date.js?a='. Yii::app()->params['assets'],CClientScript::POS_HEAD);
     $cs->registerScriptFile(Yii::app()->params["baseUrl"] . '/js/pages/reportes.js?a=' . Yii::app()->params['assets'], CClientScript::POS_HEAD);
     $this->pageTitle = 'Home Reportes';
     $this->render('index');
 }
 public function actionMes_actual()
 {
     //funcion para validar la session del usuario
     GenericFunctions::validarSession();
     // funcion global que cambia el formato de fecha para ser utilizado
     //$fecha1 =GenericFunctions::formatoFecha($_REQUEST['fecha1']);
     //$fecha2=GenericFunctions::formatoFecha($_REQUEST['fecha2']);
     $cs = Yii::app()->getclientScript();
     $cs->registerCssFile(Yii::app()->params["baseUrl"] . '/css/pages/reportes.css?a=' . Yii::app()->params['assets'], 'screen, projection');
     //$cs->registerCssFile(Yii::app()->params["baseUrl"].'/css/plugins/pickadate/classic.date.css?a='. Yii::app()->params['assets'],'screen, projection');
     //$cs->registerCssFile(Yii::app()->params["baseUrl"].'/css/pages/index.css?a='. Yii::app()->params['assets'],'screen, projection');
     //$cs->registerScriptFile(Yii::app()->params["baseUrl"].'/js/plugins/pickadate/picker.js?a='. Yii::app()->params['assets'],CClientScript::POS_END);
     //$cs->registerScriptFile(Yii::app()->params["baseUrl"].'/js/plugins/pickadate/picker.date.js?a='. Yii::app()->params['assets'],CClientScript::POS_HEAD);
     //$cs->registerScriptFile(Yii::app()->params["baseUrl"].'/js/pages/reportes.js?a='. Yii::app()->params['assets'],CClientScript::POS_HEAD);
     //obetener los estados de folio que sean reparados en las fechas especificas
     $folios = folioestado::model()->Autorizado()->rangoFechas('', '')->findAll();
     $this->pageTitle = 'Reporte Mensual';
     $this->render('rango_fecha', array('folios' => $folios));
 }
Пример #3
0
?>
"></div>
	  <div class='item'><img class="" style="height: 100%;" src="<?php 
echo Yii::app()->params["baseUrl"] . "images/home/" . GenericFunctions::renderImg('Home4');
?>
"></div>
	  <div class='item'><img class="" style="height: 100%;" src="<?php 
echo Yii::app()->params["baseUrl"] . "images/home/" . GenericFunctions::renderImg('Home5');
?>
"></div>
	  <div class='item'><img class="" style="height: 100%;" src="<?php 
echo Yii::app()->params["baseUrl"] . "images/home/" . GenericFunctions::renderImg('Home6');
?>
"></div>
	  <div class='item'><img class="" style="height: 100%;" src="<?php 
echo Yii::app()->params["baseUrl"] . "images/home/" . GenericFunctions::renderImg('Home7');
?>
"></div>
	</div>
	<div class="controles ocultar-xs">
		<div class="col s12">
		<a id="atras"><img src="/images/iconos/direccion.svg"></a>
		</div>
		<div class="col s12">
		<a id="adelante"><img src="/images/iconos/direccion.svg"></a>
		</div>
	</div>		
</div>	

	<div class="col s12 m10 offset-m1">
		<h4><strong class='cafe-text'><?php