summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2007-11-03 17:38:28 +0000
committerivan <ivan>2007-11-03 17:38:28 +0000
commitdb278a8b56850f00e46cebd841e315e57732ec77 (patch)
treed435bd512b721f91c568166f001c68476d619690
parent636fcaf6066218b9edceec093de6ae4ee69bd1e0 (diff)
move menu option for adv. customer reports to second level, same as advanced invoice & package reports
-rw-r--r--httemplate/elements/menu.html10
1 files changed, 4 insertions, 6 deletions
diff --git a/httemplate/elements/menu.html b/httemplate/elements/menu.html
index 1d72bbbe6..0fb34284e 100644
--- a/httemplate/elements/menu.html
+++ b/httemplate/elements/menu.html
@@ -66,11 +66,6 @@ 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');
-$report_customers_lists{'advanced customer reports'} = [ $fsurl. 'search/report_cust_main.html', '' ]
- if ( $curuser->access_right('List customers') &&
- $curuser->access_right('List packages')
- );
-
tie my %report_customers_search, 'Tie::IxHash';
$report_customers_search{'by ordering employee'} = [ $fsurl. 'search/cust_main-otaker.cgi' ]
if $curuser->access_right('Configuration');
@@ -80,7 +75,10 @@ tie my %report_customers, 'Tie::IxHash',
;
$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' ];
+$report_customers{'Zip code distribution'} = [ $fsurl. 'search/report_cust_main-zip.html', 'Zip codes by number of customers' ];
+$report_customers{'Advanced customer reports'} = [ $fsurl. 'search/report_cust_main.html', 'by status, signup date, agent, etc.' ]
+ if $curuser->access_right('List customers')
+ && $curuser->access_right('List packages');
tie my %report_invoices_open, 'Tie::IxHash',
'All open invoices' => [ $fsurl.'search/cust_bill.html?OPEN_date', 'All invoices with an unpaid balance' ],