From 8352207982f14a7ff3b0da376ca8031fb4ad1757 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Sun, 27 Mar 2016 02:56:31 -0700 Subject: [PATCH] freeside inc. web services for address normalizaion and printing, RT#33849 --- httemplate/view/cust_bill.cgi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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', -- 2.20.1