projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
4d2467d
)
freeside inc. web services for address normalizaion and printing, RT#33849
author
Ivan Kohler
<ivan@freeside.biz>
Sun, 27 Mar 2016 09:56:30 +0000
(
02:56
-0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Sun, 27 Mar 2016 09:56:30 +0000
(
02:56
-0700)
httemplate/view/cust_bill.cgi
patch
|
blob
|
history
diff --git
a/httemplate/view/cust_bill.cgi
b/httemplate/view/cust_bill.cgi
index
c95e01d
..
d952575
100755
(executable)
--- a/
httemplate/view/cust_bill.cgi
+++ b/
httemplate/view/cust_bill.cgi
@@
-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',