show data usage report link only for customers that might have data usage, #42310
[freeside.git] / httemplate / view / cust_main / menu.html
index 7c7303b..695336c 100644 (file)
@@ -397,6 +397,7 @@ my @menu = (
       actionlabel => 'Data usage report',
       width   => 480,
       height  => 245,
+      condition => sub { shift->num_usage_pkgs > 0 },
     },
     {
       label => 'View CDRs',