[freeside-commits] branch FREESIDE_3_BRANCH updated. dba51aaeccee329da6c1fe5b0405f8b0a32cc498
Ivan
ivan at 420.am
Sun Mar 27 02:56:34 PDT 2016
The branch, FREESIDE_3_BRANCH has been updated
via dba51aaeccee329da6c1fe5b0405f8b0a32cc498 (commit)
from 8c865c1e8ab994e14ee81b11b0544f2a280d2d07 (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 dba51aaeccee329da6c1fe5b0405f8b0a32cc498
Author: Ivan Kohler <ivan at freeside.biz>
Date: Sun Mar 27 02:56:33 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 97eff24..c25dc3e 100755
--- a/httemplate/view/cust_bill.cgi
+++ b/httemplate/view/cust_bill.cgi
@@ -99,7 +99,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