summaryrefslogtreecommitdiff
path: root/httemplate/view
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2016-03-27 02:56:30 -0700
committerIvan Kohler <ivan@freeside.biz>2016-03-27 02:56:30 -0700
commite4ef2a297d3a11f59c27a5bdc155e06b3aa240b0 (patch)
treec1483cd3c3a0f45b1c714f1ed6215cce4ce01b9d /httemplate/view
parent4d2467d2b8c2134f8cab6907c675a9c4f56472ed (diff)
freeside inc. web services for address normalizaion and printing, RT#33849
Diffstat (limited to 'httemplate/view')
-rwxr-xr-xhttemplate/view/cust_bill.cgi5
1 files changed, 4 insertions, 1 deletions
diff --git a/httemplate/view/cust_bill.cgi b/httemplate/view/cust_bill.cgi
index c95e01dc4..d9525750c 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',