X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fmenu.html;h=d9190ee280c772086faf520525a98af30b91a16c;hp=9e194f42dff167fa5059b896b47db80666bf8359;hb=21802b5591a2a1c580b4c2fc6490693bc3af52f6;hpb=cd254e04ba204b5d0b4a69b65c392fb175dd1e97 diff --git a/httemplate/view/cust_main/menu.html b/httemplate/view/cust_main/menu.html index 9e194f42d..d9190ee28 100644 --- a/httemplate/view/cust_main/menu.html +++ b/httemplate/view/cust_main/menu.html @@ -391,8 +391,18 @@ my @menu = ( url => "search/report_svc_acct.html?custnum=$custnum", }, { + label => 'View data usage', + popup => "search/report_sqlradius_usage-custnum.html?$custnum", + acl => 'Usage: RADIUS sessions', + actionlabel => 'Data usage report', + width => 480, + height => 345, + condition => sub { shift->num_usage_pkgs > 0 }, + }, + { label => 'View CDRs', url => "search/report_cdr.html?custnum=$custnum", + # XXX should have a condition that the customer has any CDR packages }, ], [