[Alba-desarrollo] SVN Alba r4395 - in prosistem/alba/trunk/alba: apps/principal/modules/cuenta/config apps/principal/modules/cuenta/templates lib/model/om

commits en pressenter.com.ar commits en pressenter.com.ar
Mie Mar 7 16:37:34 CET 2007


Author: hsanchez
Date: 2007-03-07 12:37:32 -0300 (Wed, 07 Mar 2007)
New Revision: 4395

Added:
   prosistem/alba/trunk/alba/apps/principal/modules/cuenta/templates/_fk_tipoiva_id.php
Modified:
   prosistem/alba/trunk/alba/apps/principal/modules/cuenta/config/generator.yml
   prosistem/alba/trunk/alba/lib/model/om/BaseCuenta.php
Log:
Agregando template para el orden de TipoIva

Modified: prosistem/alba/trunk/alba/apps/principal/modules/cuenta/config/generator.yml
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/cuenta/config/generator.yml	2007-03-06 18:15:56 UTC (rev 4394)
+++ prosistem/alba/trunk/alba/apps/principal/modules/cuenta/config/generator.yml	2007-03-07 15:37:32 UTC (rev 4395)
@@ -27,7 +27,7 @@
             title: " "
             fields: 
                 pais_id: {name: País }
-            display: [ nombre, razon_social, cuit, direccion, ciudad, codigo_postal, _pais_id, _fk_provincia_id,  fk_tipoiva_id, telefono ]
+            display: [ nombre, razon_social, cuit, direccion, ciudad, codigo_postal, _pais_id, _fk_provincia_id,  _fk_tipoiva_id, telefono ]
             actions:
                 _delete: -
                 _save: -

Added: prosistem/alba/trunk/alba/apps/principal/modules/cuenta/templates/_fk_tipoiva_id.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/cuenta/templates/_fk_tipoiva_id.php	2007-03-06 18:15:56 UTC (rev 4394)
+++ prosistem/alba/trunk/alba/apps/principal/modules/cuenta/templates/_fk_tipoiva_id.php	2007-03-07 15:37:32 UTC (rev 4395)
@@ -0,0 +1,8 @@
+<div id="item_tipovia">
+<?php 
+    echo object_select_tag($cuenta, 'getFkTipoivaId', array (
+    'related_class' => 'Tipoiva',
+    'control_name' => 'cuenta[fk_tipoiva_id]', 'peer_method' => 'getEnOrden'
+    )) 
+?>
+</div>
\ No newline at end of file


Property changes on: prosistem/alba/trunk/alba/apps/principal/modules/cuenta/templates/_fk_tipoiva_id.php
___________________________________________________________________
Name: svn:keywords
   + Id Date Author Rev URL

Modified: prosistem/alba/trunk/alba/lib/model/om/BaseCuenta.php
===================================================================
--- prosistem/alba/trunk/alba/lib/model/om/BaseCuenta.php	2007-03-06 18:15:56 UTC (rev 4394)
+++ prosistem/alba/trunk/alba/lib/model/om/BaseCuenta.php	2007-03-07 15:37:32 UTC (rev 4395)
@@ -709,6 +709,7 @@
 			
 		}
 		return $this->aTipoiva;
+        
 	}
 
 	




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