summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2016-08-22 13:41:13 -0700
committerMark Wells <mark@freeside.biz>2016-08-22 14:21:23 -0700
commit500e5a534592469550f36f8b830e5ece1341d05d (patch)
tree61d8db125836be1819a7d27cf5e7d067a25b85e4 /httemplate
parent3348a49e629d38a680b87d82a09babda1dfaf06f (diff)
show data usage report link only for customers that might have data usage, #42310
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/view/cust_main/menu.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/httemplate/view/cust_main/menu.html b/httemplate/view/cust_main/menu.html
index 7c7303bc9..695336c62 100644
--- a/httemplate/view/cust_main/menu.html
+++ b/httemplate/view/cust_main/menu.html
@@ -397,6 +397,7 @@ my @menu = (
actionlabel => 'Data usage report',
width => 480,
height => 245,
+ condition => sub { shift->num_usage_pkgs > 0 },
},
{
label => 'View CDRs',