fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [8464] property: adjustments


From: Sigurd Nes
Subject: [Fmsystem-commits] [8464] property: adjustments
Date: Fri, 30 Dec 2011 15:47:04 +0000

Revision: 8464
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=8464
Author:   sigurdne
Date:     2011-12-30 15:47:04 +0000 (Fri, 30 Dec 2011)
Log Message:
-----------
property: adjustments

Modified Paths:
--------------
    trunk/property/inc/class.menu.inc.php
    trunk/property/inc/class.uiXport.inc.php

Modified: trunk/property/inc/class.menu.inc.php
===================================================================
--- trunk/property/inc/class.menu.inc.php       2011-12-30 15:37:16 UTC (rev 
8463)
+++ trunk/property/inc/class.menu.inc.php       2011-12-30 15:47:04 UTC (rev 
8464)
@@ -777,6 +777,11 @@
                                                        'url'   => 
$GLOBALS['phpgw']->link('/index.php',array('menuaction'=> 
'property.uiXport.export')),
                                                        'text'  =>      
lang('Export invoice')
                                                );
+                                       $children['rollback'] = array
+                                               (
+                                                       'url'   => 
$GLOBALS['phpgw']->link('/index.php',array('menuaction'=> 
'property.uiXport.rollback')),
+                                                       'text'  =>      
lang('Roll back')
+                                               );
                                }
 
                                if ( $acl->check('.invoice', PHPGW_ACL_ADD, 
'property') )

Modified: trunk/property/inc/class.uiXport.inc.php
===================================================================
--- trunk/property/inc/class.uiXport.inc.php    2011-12-30 15:37:16 UTC (rev 
8463)
+++ trunk/property/inc/class.uiXport.inc.php    2011-12-30 15:47:04 UTC (rev 
8464)
@@ -591,6 +591,8 @@
                                
$GLOBALS['phpgw']->redirect_link('/index.php',array('menuaction'=> 
'property.uilocation.stop', 'perm'=>16, 'acl_location'=> $this->acl_location));
                        }
 
+                       $GLOBALS['phpgw_info']['flags']['menu_selection'] = 
'property::invoice::rollback';
+
                        $GLOBALS['phpgw']->xslttpl->add_file(array('invoice',
                                'search_field'));
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]