[freeside-commits] branch master updated. e4ef2a297d3a11f59c27a5bdc155e06b3aa240b0
Ivan
ivan at 420.am
Sun Mar 27 02:56:31 PDT 2016
The branch, master has been updated
via e4ef2a297d3a11f59c27a5bdc155e06b3aa240b0 (commit)
from 4d2467d2b8c2134f8cab6907c675a9c4f56472ed (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 e4ef2a297d3a11f59c27a5bdc155e06b3aa240b0
Author: Ivan Kohler <ivan at freeside.biz>
Date: Sun Mar 27 02:56:30 2016 -0700
freeside inc. web services for address normalizaion and printing, RT#33849
diff --git a/httemplate/view/cust_bill.cgi b/httemplate/view/cust_bill.cgi
index c95e01d..d952575 100755
--- a/httemplate/view/cust_bill.cgi
+++ b/httemplate/view/cust_bill.cgi
@@ -98,7 +98,10 @@ function areyousure(href, message) {
<A HREF="<% $p %>misc/send-invoice.cgi?method=print;<% $link %>"><% mt('Print this invoice') |h %></A>
% }
-% if ( $curuser->access_right('Print and mail invoices') ) {
+% if ( $conf->exists('support-key')
+% && $curuser->access_right('Print and mail invoices')
+% )
+% {
| <& /elements/popup_link.html,
'action' => $p."misc/post_fsinc-invoice.cgi?$link",
'label' => 'Print and mail this invoice online',
-----------------------------------------------------------------------
Summary of changes:
httemplate/view/cust_bill.cgi | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
More information about the freeside-commits
mailing list