X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_bill.cgi;h=d9525750cdc6923dbae7e5898dcffbf04e805dba;hb=a2c196921e984b7f1784fbb41c96a053ef68c9ee;hp=c95e01dc4f43d0f3087e6023a6f0c86958082b19;hpb=73a0010272b15b42c19a40f59fd09c74fca2af5c;p=freeside.git 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) { <% 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',