[freeside-commits] branch FREESIDE_3_BRANCH updated. 5e9677cbad2051ea452b389fa03bddf37166c590
Ivan
ivan at 420.am
Mon Jul 6 23:13:44 PDT 2015
The branch, FREESIDE_3_BRANCH has been updated
via 5e9677cbad2051ea452b389fa03bddf37166c590 (commit)
from 5b3ee07ca4807250d9e7ab258fa1ef7cb33cfe12 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 5e9677cbad2051ea452b389fa03bddf37166c590
Author: Ivan Kohler <ivan at freeside.biz>
Date: Mon Jul 6 23:13:34 2015 -0700
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 e5bcc5c..db2cf4f 100644
--- a/httemplate/view/cust_main/payment_history.html
+++ b/httemplate/view/cust_main/payment_history.html
@@ -158,10 +158,12 @@
<BR>
% }
-% if ( $num_cust_bill > 0 ) {
- <A HREF="<% $p %>view/cust_main_statement-pdf.cgi?<% $custnum %>"><%
- mt('Download typeset statement PDF') |h %></A>
- <BR>
+% if ( $num_cust_bill > 0
+% && $curuser->access_right('View legacy typeset statements')
+% ) {
+ <A HREF="<% $p %>view/cust_main_statement-pdf.cgi?<% $custnum %>"><%
+ mt('Download typeset statement PDF') |h %></A>
+ <BR>
% }
<A HREF="<% $p %>search/report_cust_bill.html?custnum=<% $custnum %>"><% mt('Invoice reports') |h %></A>
% }
-----------------------------------------------------------------------
Summary of changes:
httemplate/view/cust_main/payment_history.html | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
More information about the freeside-commits
mailing list