fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [7571] property: remove project categories from menu


From: Sigurd Nes
Subject: [Fmsystem-commits] [7571] property: remove project categories from menu
Date: Sun, 11 Sep 2011 13:22:58 +0000

Revision: 7571
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=7571
Author:   sigurdne
Date:     2011-09-11 13:22:57 +0000 (Sun, 11 Sep 2011)
Log Message:
-----------
property: remove project categories from menu

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

Modified: trunk/property/inc/class.menu.inc.php
===================================================================
--- trunk/property/inc/class.menu.inc.php       2011-09-09 14:24:16 UTC (rev 
7570)
+++ trunk/property/inc/class.menu.inc.php       2011-09-11 13:22:57 UTC (rev 
7571)
@@ -665,7 +665,7 @@
 
                        if ( $acl->check('.project', PHPGW_ACL_READ, 
'property') )
                        {
-
+/*
                                $cats   = CreateObject('phpgwapi.categories', 
-1,  'property', '.project');
                                $cats->supress_info     = true;
 
@@ -682,7 +682,7 @@
                                        
                                        );      
                                }
-
+*/
                                $menus['navigation']['project'] = array
                                        (
                                                'url'           => 
$GLOBALS['phpgw']->link('/index.php',array('menuaction'=> 
'property.uiproject.index')),
@@ -695,7 +695,7 @@
                                                                'url'   => 
$GLOBALS['phpgw']->link('/index.php',array('menuaction'=> 
'property.uiproject.index')),
                                                                'text'  => 
lang('Project'),
                                                                'image'         
=> array('property', 'project'),
-                                                               'children'      
=> $project_children
+                                               //              'children'      
=> $project_children
                                                        ),
                                                        'workorder'     => array
                                                        (
@@ -769,12 +769,21 @@
                                                'image' => array('property', 
'invoice'),
                                                'children'      => 
array_merge(array
                                                (
+                                                       'deposition'    => array
+                                                       (
+                                                               'url'   =>      
$GLOBALS['phpgw']->link('/index.php',array('menuaction'=> 
'property.uiinvoice.reporting', 'type' => 'deposition')),
+                                                               'text'  => 
lang('deposition')
+                                                       ),
+                                                       'reconciliation'        
=> array
+                                                       (
+                                                               'url'   =>      
$GLOBALS['phpgw']->link('/index.php',array('menuaction'=> 
'property.uiinvoice.reporting', 'type' => 'reconciliation')),
+                                                               'text'  => 
lang('reconciliation')
+                                                       ),
                                                        'paid'          => array
                                                        (
                                                                'url'   =>      
$GLOBALS['phpgw']->link('/index.php',array('menuaction'=> 
'property.uiinvoice.index', 'paid'=>true)),
                                                                'text'  => 
lang('Paid')
                                                        ),
-                                                       // Should this be 
process? skwashd jan08
                                                        'consume'       => array
                                                        (
                                                                'url'   =>      
$GLOBALS['phpgw']->link('/index.php',array('menuaction'=> 
'property.uiinvoice.consume')),




reply via email to

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