customer menu link to data usage report, #42310
authorMark Wells <mark@freeside.biz>
Tue, 26 Jul 2016 18:49:36 +0000 (11:49 -0700)
committerMark Wells <mark@freeside.biz>
Tue, 26 Jul 2016 18:49:36 +0000 (11:49 -0700)
httemplate/view/cust_main/menu.html

index 9e194f4..7c7303b 100644 (file)
@@ -391,8 +391,17 @@ 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  => 245,
+    },
+    {
       label => 'View CDRs',
       url   => "search/report_cdr.html?custnum=$custnum",
+      # XXX should have a condition that the customer has any CDR packages
     },
   ],
   [