From 2e52b3a969c6325e9b74ef4ac7f5d435a999f309 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Mon, 6 Jul 2015 23:11:15 -0700 Subject: [PATCH] hide the old typeset statements with a non-default (and not added on upgrade) ACL, RT#34078 --- httemplate/view/cust_main/menu.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/httemplate/view/cust_main/menu.html b/httemplate/view/cust_main/menu.html index 90a20ed50..9486c24e0 100644 --- a/httemplate/view/cust_main/menu.html +++ b/httemplate/view/cust_main/menu.html @@ -452,9 +452,9 @@ my @menu = ( }, # separator, definitely { - label => 'Download statement', + label => 'Download PDF statement', url => "view/cust_main_statement-pdf.cgi?$custnum", - acl => 'List invoices', + acl => 'View legacy typeset statements', condition => sub { FS::cust_bill->count('custnum = ?', shift->custnum) > 0 }, -- 2.11.0