diff options
author | ivan <ivan> | 2007-02-03 11:36:30 +0000 |
---|---|---|
committer | ivan <ivan> | 2007-02-03 11:36:30 +0000 |
commit | 590603ecaea3184f64530755a76626be8205da49 (patch) | |
tree | 0fdb8164cd74bd4cbbd3c2266b8f8bf4cbb7fc00 /httemplate/elements | |
parent | 14e3560b43ca8a747f4210bd784a0315daeb5e9e (diff) |
add customer status column to customer & most other reports. also put the C in ACL in the search/ and graph/ directories.
Diffstat (limited to 'httemplate/elements')
-rw-r--r-- | httemplate/elements/menu.html | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/httemplate/elements/menu.html b/httemplate/elements/menu.html index 94bb0e0ba..9565ff2d0 100644 --- a/httemplate/elements/menu.html +++ b/httemplate/elements/menu.html @@ -66,15 +66,16 @@ tie my %report_customers_lists, 'Tie::IxHash', $report_customers_lists{'by active trouble tickets'} = [ $fsurl. 'search/cust_main.cgi?browse=tickets', '' ] if $conf->config('ticket_system'); -tie my %report_customers_search, 'Tie::IxHash', - 'by ordering employee' => [ $fsurl. 'search/cust_main-otaker.cgi' ], -; +tie my %report_customers_search, 'Tie::IxHash'; +$report_customers_search{'by ordering employee'} = [ $fsurl. 'search/cust_main-otaker.cgi' ] + if $curuser->access_right('Configuration'); tie my %report_customers, 'Tie::IxHash', 'List customers' => [ \%report_customers_lists, 'List customers' ], - 'Search customers' => [ \%report_customers_search, 'Search customers' ], - 'Zip code distribution' => [ $fsurl.'search/report_cust_main-zip.html', 'Zip codes by number of customers' ], ; +$report_customers{'Search customers'} = [ \%report_customers_search, 'Search customers' ] + if keys %report_customers_search; +$report_customers{'Zip code distribution'} = [ $fsurl.'search/report_cust_main-zip.html', 'Zip codes by number of customers' ]; tie my %report_invoices_open, 'Tie::IxHash', 'All open invoices' => [ $fsurl.'search/cust_bill.html?OPEN_date', 'All invoices with an unpaid balance' ], |