From: Ivan Kohler Date: Tue, 7 Jul 2015 06:13:34 +0000 (-0700) Subject: hide the old typeset statements with a non-default (and not added on upgrade) ACL... X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=5e9677cbad2051ea452b389fa03bddf37166c590;p=freeside.git hide the old typeset statements with a non-default (and not added on upgrade) ACL, RT#34078 --- diff --git a/httemplate/view/cust_main/payment_history.html b/httemplate/view/cust_main/payment_history.html index e5bcc5ca9..db2cf4f23 100644 --- a/httemplate/view/cust_main/payment_history.html +++ b/httemplate/view/cust_main/payment_history.html @@ -158,10 +158,12 @@
% } -% if ( $num_cust_bill > 0 ) { - <% - mt('Download typeset statement PDF') |h %> -
+% if ( $num_cust_bill > 0 +% && $curuser->access_right('View legacy typeset statements') +% ) { + <% + mt('Download typeset statement PDF') |h %> +
% } <% mt('Invoice reports') |h %> % }