diff options
author | Mark Wells <mark@freeside.biz> | 2016-07-26 12:08:59 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2016-08-11 15:34:06 -0700 |
commit | a21dee1f18ad9ac220efe66a0c044aa262a12c99 (patch) | |
tree | f451e4415fb37f234c7453950c794849a8173312 | |
parent | 8d08e8194a4f57391eb381fbd541fb3e5e25c0dd (diff) |
customer menu link to data usage report, #42310
-rwxr-xr-x | httemplate/view/cust_main/packages.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/httemplate/view/cust_main/packages.html b/httemplate/view/cust_main/packages.html index 9a2332ba8..f3cfc06f4 100755 --- a/httemplate/view/cust_main/packages.html +++ b/httemplate/view/cust_main/packages.html @@ -167,6 +167,17 @@ if ( el ) el.scrollIntoView(true); <A HREF="<%$p%>search/report_svc_acct.html?custnum=<% $cust_main->custnum %>"><% mt('accounts') |h %></A><BR> <% mt('Usage reports:') |h %> <A HREF="<%$p%>search/report_cdr.html?custnum=<% $cust_main->custnum %>"><% mt('CDRs') |h %></A> +% if ( $curuser->access_right('Usage: RADIUS sessions') ) { + | + <& /elements/popup_link-cust_main.html, + 'label' => emt('Data usage'), + 'action' => "${p}search/report_sqlradius_usage-custnum.html", + 'cust_main' => $cust_main, + 'actionlabel' => emt('Data usage report'), + 'width' => 480, + 'height' => 245, + &> +% } </TD> % } # unless $opt{no_links} |