summaryrefslogtreecommitdiff
path: root/httemplate/view
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2016-03-27 02:56:33 -0700
committerIvan Kohler <ivan@freeside.biz>2016-03-27 02:56:33 -0700
commitdba51aaeccee329da6c1fe5b0405f8b0a32cc498 (patch)
tree4d477a98c69faac8b8aa3da7204000167bcdac37 /httemplate/view
parent8c865c1e8ab994e14ee81b11b0544f2a280d2d07 (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 97eff2407..c25dc3e08 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',