From 4d865ba973da989a94625d58a61b1b1ce38ecaf8 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Sun, 16 Feb 2014 17:35:49 -0800 Subject: [PATCH] credit limit for CDR prerating, RT#27267 --- httemplate/elements/menu.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/httemplate/elements/menu.html b/httemplate/elements/menu.html index de28bd6cf..cfc262ee5 100644 --- a/httemplate/elements/menu.html +++ b/httemplate/elements/menu.html @@ -376,10 +376,12 @@ if( $curuser->access_right('Financial reports') ) { } # else $report_financial contains nothing. tie my %report_logs, 'Tie::IxHash'; - $report_logs{'System log'} = [ $fsurl.'search/log.html', 'View system events and debugging information.' ], +$report_logs{'Credit limit incidents'} = [ $fsurl.'search/report_cust_main_credit_limit.html', '' ] + if $curuser->access_right('List rating data'); +$report_logs{'System log'} = [ $fsurl.'search/log.html', 'View system events and debugging information.' ], if $curuser->access_right('View system logs') || $curuser->access_right('Configuration'); - $report_logs{'Outgoing messages'} = [ $fsurl.'search/cust_msg.html', 'View outgoing message log' ] +$report_logs{'Outgoing messages'} = [ $fsurl.'search/cust_msg.html', 'View outgoing message log' ] if $curuser->access_right('View email logs') || $curuser->access_right('Configuration'); -- 2.11.0