From 2801b7c172cddcab51101d933e57a956d450ace2 Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Mon, 22 Aug 2016 13:41:13 -0700 Subject: show data usage report link only for customers that might have data usage, #42310 --- httemplate/view/cust_main/menu.html | 1 + 1 file changed, 1 insertion(+) (limited to 'httemplate') 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', -- cgit v1.2.1