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