From: ivan Date: Sat, 3 Nov 2007 17:38:28 +0000 (+0000) Subject: move menu option for adv. customer reports to second level, same as advanced invoice... X-Git-Tag: freeside_1_7_3rc1~288 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=db278a8b56850f00e46cebd841e315e57732ec77;p=freeside.git move menu option for adv. customer reports to second level, same as advanced invoice & package reports --- 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' ],