diff options
author | Mark Wells <mark@freeside.biz> | 2016-08-22 13:41:13 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2016-08-22 14:20:59 -0700 |
commit | 2801b7c172cddcab51101d933e57a956d450ace2 (patch) | |
tree | d61cbe4e475dce08070783cfb6d24061e195fe88 /httemplate | |
parent | c541cb0f1ab12a904252bd6b2658dba585860f28 (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.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/httemplate/view/cust_main/menu.html b/httemplate/view/cust_main/menu.html index 7c7303b..695336c 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', |