[Alba-desarrollo] SVN Alba r4140 - prosistem/alba/trunk/alba/apps/principal/modules/escalanota/actions

commits en pressenter.com.ar commits en pressenter.com.ar
Mie Ene 31 19:56:34 CET 2007


Author: ftoledo
Date: 2007-01-31 15:56:31 -0300 (Wed, 31 Jan 2007)
New Revision: 4140

Modified:
   prosistem/alba/trunk/alba/apps/principal/modules/escalanota/actions/ac=
tions.class.php
Log:
filtro por establecimiento


Modified: prosistem/alba/trunk/alba/apps/principal/modules/escalanota/act=
ions/actions.class.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- prosistem/alba/trunk/alba/apps/principal/modules/escalanota/actions/a=
ctions.class.php	2007-01-31 18:35:55 UTC (rev 4139)
+++ prosistem/alba/trunk/alba/apps/principal/modules/escalanota/actions/a=
ctions.class.php	2007-01-31 18:56:31 UTC (rev 4140)
@@ -22,8 +22,8 @@
  * escalanota Acciones
  *
  * @package    alba
- * @author     Jos=C3=A9 Luis Di Biase <josx en interorganic.com.ar>
- * @author     H=C3=A9ctor Sanchez <hsanchez en pressenter.com.ar>
+ * @author     Jos=E9 Luis Di Biase <josx en interorganic.com.ar>
+ * @author     H=E9ctor Sanchez <hsanchez en pressenter.com.ar>
  * @author     Fernando Toledo <ftoledo en pressenter.com.ar>
  * @version    SVN: $Id$
  * @filesource
@@ -32,7 +32,11 @@
=20
 class escalanotaActions extends autoescalanotaActions
 {
-     public function preExecute() {
+    protected function addFiltersCriteria(&$c) {                        =
                                                                         =
                     =20
+        $c->add(EscalanotaPeer::FK_ESTABLECIMIENTO_ID, $this->getUser()-=
>getAttribute('fk_establecimiento_id'));
+    }
+
+    public function preExecute() {
          $this->vista =3D $this->getRequestParameter('vista');
      }
 }




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