[Alba-desarrollo] SVN Alba r5002 - in prosistem/alba/trunk/alba/apps/principal/modules: cuenta/templates organizacion/templates responsable/templates

commits en pressenter.com.ar commits en pressenter.com.ar
Lun Ago 27 16:18:09 CEST 2007


Author: josx
Date: 2007-08-27 11:18:08 -0300 (Mon, 27 Aug 2007)
New Revision: 5002

Modified:
   prosistem/alba/trunk/alba/apps/principal/modules/cuenta/templates/_pais_id.php
   prosistem/alba/trunk/alba/apps/principal/modules/organizacion/templates/_pais_id.php
   prosistem/alba/trunk/alba/apps/principal/modules/responsable/templates/_pais_id.php
   prosistem/alba/trunk/alba/apps/principal/modules/responsable/templates/editSuccess.php
Log:
Agregrado orden para pais y tipo de documento en abms de responsable, cuenta y organizacion

Modified: prosistem/alba/trunk/alba/apps/principal/modules/cuenta/templates/_pais_id.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/cuenta/templates/_pais_id.php	2007-08-27 14:04:31 UTC (rev 5001)
+++ prosistem/alba/trunk/alba/apps/principal/modules/cuenta/templates/_pais_id.php	2007-08-27 14:18:08 UTC (rev 5002)
@@ -11,7 +11,7 @@
         $pais_selected = $paises[0]->getId();
         $provincia_id = 0;
     }
-    echo select_tag('pais_id',objects_for_select($paises,'getId','getNombreLargo',$pais_selected));
+    echo select_tag('pais_id',objects_for_select(PaisPeer::getEnOrden(),'getId','getNombreLargo',$pais_selected));
     
     echo observe_field('pais_id', array(
         'update'   => 'item_provincia',

Modified: prosistem/alba/trunk/alba/apps/principal/modules/organizacion/templates/_pais_id.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/organizacion/templates/_pais_id.php	2007-08-27 14:04:31 UTC (rev 5001)
+++ prosistem/alba/trunk/alba/apps/principal/modules/organizacion/templates/_pais_id.php	2007-08-27 14:18:08 UTC (rev 5002)
@@ -11,7 +11,7 @@
         $provincia_id = 0;
     }
         
-    echo select_tag('pais_id',objects_for_select($paises,'getId','getNombreLargo',$pais_selected));
+    echo select_tag('pais_id',objects_for_select(PaisPeer::getEnOrden(),'getId','getNombreLargo',$pais_selected));
     
     echo observe_field('pais_id', array(
         'update'   => 'item_provincia',

Modified: prosistem/alba/trunk/alba/apps/principal/modules/responsable/templates/_pais_id.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/responsable/templates/_pais_id.php	2007-08-27 14:04:31 UTC (rev 5001)
+++ prosistem/alba/trunk/alba/apps/principal/modules/responsable/templates/_pais_id.php	2007-08-27 14:18:08 UTC (rev 5002)
@@ -11,7 +11,7 @@
         $provincia_id = 0;
     }
         
-    echo select_tag('pais_id',objects_for_select($paises,'getId','getNombreLargo',$pais_selected));
+    echo select_tag('pais_id',objects_for_select(PaisPeer::getEnOrden(),'getId','getNombreLargo',$pais_selected));
     
     echo observe_field('pais_id', array(
         'update'   => 'item_provincia',

Modified: prosistem/alba/trunk/alba/apps/principal/modules/responsable/templates/editSuccess.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/responsable/templates/editSuccess.php	2007-08-27 14:04:31 UTC (rev 5001)
+++ prosistem/alba/trunk/alba/apps/principal/modules/responsable/templates/editSuccess.php	2007-08-27 14:18:08 UTC (rev 5002)
@@ -104,6 +104,7 @@
 
   <?php echo object_select_tag($responsable, 'getFkTipodocumentoId', array (
   'related_class' => 'Tipodocumento',
+  'peer_method' => 'getEnOrden',
   'control_name' => 'responsable[fk_tipodocumento_id]',
 )) ?>
     </div>




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