[Alba-desarrollo] SVN Alba r6147 - in prosistem/alba/trunk/alba: apps/principal/modules/alumno/templates config

commits en pressenter.com.ar commits en pressenter.com.ar
Lun Mayo 4 22:21:17 CEST 2009


Author: hsanchez
Date: 2009-05-04 17:21:17 -0300 (Mon, 04 May 2009)
New Revision: 6147

Modified:
   prosistem/alba/trunk/alba/apps/principal/modules/alumno/templates/editSuccess.php
   prosistem/alba/trunk/alba/config/schema.yml
Log:
Agregando procedencia al alumno

Modified: prosistem/alba/trunk/alba/apps/principal/modules/alumno/templates/editSuccess.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/alumno/templates/editSuccess.php	2009-05-04 20:09:15 UTC (rev 6146)
+++ prosistem/alba/trunk/alba/apps/principal/modules/alumno/templates/editSuccess.php	2009-05-04 20:21:17 UTC (rev 6147)
@@ -336,7 +336,14 @@
             )) ?>
                 </div>
             </div>
+            <div class="form-row">
+            <?php echo label_for('alumno[procedencia]', __('Procedencia'), 'class="required"') ?>
 
+            <?php echo object_input_tag($alumno, 'getProcedencia', array (
+              'size' => 50,
+              'control_name' => 'alumno[procedencia]',
+            )) ?>
+            </div>
             <div class="form-row">
                 <?php echo label_for('alumno[fk_cuenta_id]', __('Cuenta:'), 'class="required" ') ?>
                 <div class="content<?php if ($sf_request->hasError('alumno{fk_cuenta_id}')): ?> form-error<?php endif; ?>">  

Modified: prosistem/alba/trunk/alba/config/schema.yml
===================================================================
--- prosistem/alba/trunk/alba/config/schema.yml	2009-05-04 20:09:15 UTC (rev 6146)
+++ prosistem/alba/trunk/alba/config/schema.yml	2009-05-04 20:21:17 UTC (rev 6147)
@@ -727,6 +727,10 @@
       default: 0
       foreignTable: pais
       foreignReference: id
+    procedencia:
+      type: VARCHAR
+      size: 128
+
   rol_responsable:
     _attributes:
       idMethod: native




Más información sobre la lista de distribución Alba-desarrollo