freeside inc. web services for address normalizaion and printing, RT#33849
[freeside.git] / httemplate / view / cust_bill.cgi
index c95e01d..d952575 100755 (executable)
@@ -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',