From: Ivan Kohler Date: Sun, 27 Mar 2016 09:56:33 +0000 (-0700) Subject: freeside inc. web services for address normalizaion and printing, RT#33849 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=dba51aaeccee329da6c1fe5b0405f8b0a32cc498;p=freeside.git 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 97eff2407..c25dc3e08 100755 --- a/httemplate/view/cust_bill.cgi +++ b/httemplate/view/cust_bill.cgi @@ -99,7 +99,10 @@ function areyousure(href, message) { <% mt('Print this invoice') |h %> % } -% 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',