[Alba-desarrollo] SVN Alba r4174 - in
prosistem/alba/trunk/alba/apps/principal/modules:
default/templates informes/actions informes/validate
locacion/actions
commits en pressenter.com.ar
commits en pressenter.com.ar
Vie Feb 9 16:42:09 CET 2007
Author: josx
Date: 2007-02-09 12:41:36 -0300 (Fri, 09 Feb 2007)
New Revision: 4174
Added:
prosistem/alba/trunk/alba/apps/principal/modules/informes/validate/constanciaAlumnoRegularListado.yml
Removed:
prosistem/alba/trunk/alba/apps/principal/modules/default/templates/error500Success.php
Modified:
prosistem/alba/trunk/alba/apps/principal/modules/informes/actions/actions.class.php
prosistem/alba/trunk/alba/apps/principal/modules/informes/validate/alumnosPorDivisionListado.yml
prosistem/alba/trunk/alba/apps/principal/modules/locacion/actions/actions.class.php
Log:
Validacion para accion constanciaAlumnoRegularListado
Deleted: prosistem/alba/trunk/alba/apps/principal/modules/default/templates/error500Success.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/default/templates/error500Success.php 2007-02-09 15:40:04 UTC (rev 4173)
+++ prosistem/alba/trunk/alba/apps/principal/modules/default/templates/error500Success.php 2007-02-09 15:41:36 UTC (rev 4174)
@@ -1,14 +0,0 @@
-<div align="center">
-<h1>500 - Error Encontrado</h1>
-<div class="error">
-<p>Módulo: <?echo $sf_params->get('module')?>, Acción: <? echo $sf_params->get('action')?></p>
-</div>
-<p>
-<br/>
-<i>Puede volver hacia atras con su navegador, consulte con el Administrador del sistema.</i>
-<br/>
-
-</p>
-
-<p><?echo link_to("Volver al Inicio","/")?></p>
-</div>
\ No newline at end of file
Modified: prosistem/alba/trunk/alba/apps/principal/modules/informes/actions/actions.class.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/informes/actions/actions.class.php 2007-02-09 15:40:04 UTC (rev 4173)
+++ prosistem/alba/trunk/alba/apps/principal/modules/informes/actions/actions.class.php 2007-02-09 15:41:36 UTC (rev 4174)
@@ -188,8 +188,5 @@
$this->vista = "imprimir";
}
-
-
-
}
?>
\ No newline at end of file
Modified: prosistem/alba/trunk/alba/apps/principal/modules/informes/validate/alumnosPorDivisionListado.yml
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/informes/validate/alumnosPorDivisionListado.yml 2007-02-09 15:40:04 UTC (rev 4173)
+++ prosistem/alba/trunk/alba/apps/principal/modules/informes/validate/alumnosPorDivisionListado.yml 2007-02-09 15:41:36 UTC (rev 4174)
@@ -8,4 +8,4 @@
division_id:
required: Yes
required_msg: El campo División es obligatorio
-eee
\ No newline at end of file
+
\ No newline at end of file
Added: prosistem/alba/trunk/alba/apps/principal/modules/informes/validate/constanciaAlumnoRegularListado.yml
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/informes/validate/constanciaAlumnoRegularListado.yml 2007-02-09 15:40:04 UTC (rev 4173)
+++ prosistem/alba/trunk/alba/apps/principal/modules/informes/validate/constanciaAlumnoRegularListado.yml 2007-02-09 15:41:36 UTC (rev 4174)
@@ -0,0 +1,11 @@
+methods:
+ get: [ alumno_id, division_id ]
+
+names:
+ division_id:
+ required: Yes
+ required_msg: La División es obligatoria
+
+ alumno_id:
+ required: Yes
+ required_msg: El Alumno es obligatorio
Property changes on: prosistem/alba/trunk/alba/apps/principal/modules/informes/validate/constanciaAlumnoRegularListado.yml
___________________________________________________________________
Name: svn:keywords
+ Id Date Author Rev URL
Modified: prosistem/alba/trunk/alba/apps/principal/modules/locacion/actions/actions.class.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/locacion/actions/actions.class.php 2007-02-09 15:40:04 UTC (rev 4173)
+++ prosistem/alba/trunk/alba/apps/principal/modules/locacion/actions/actions.class.php 2007-02-09 15:41:36 UTC (rev 4174)
@@ -60,6 +60,7 @@
// Aparentemente propel no soporta aun joins dentro del update
$s = "UPDATE rel_establecimiento_locacion,locacion SET locacion.principal = 0 WHERE locacion.id = rel_establecimiento_locacion.fk_locacion_id AND rel_establecimiento_locacion.fk_establecimiento_id = ".$this->getUser()->getAttribute('fk_establecimiento_id');
+
$stmt = $con->createStatement();
$alumnos = $stmt->executeQuery($s);
}
Más información sobre la lista de distribución Alba-desarrollo