X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_bill.cgi;h=c25dc3e08fccfea18d4b8162038b25ac77e20c91;hb=f97b6be9496d0948c81052cd060784554c26b58f;hp=1d5b7675e187a9c7b0f77a5d0035c87aaedb74f9;hpb=74e5191ab9f4b6454f7d7870cf9a36f088e3b7cd;p=freeside.git diff --git a/httemplate/view/cust_bill.cgi b/httemplate/view/cust_bill.cgi index 1d5b7675e..c25dc3e08 100755 --- a/httemplate/view/cust_bill.cgi +++ b/httemplate/view/cust_bill.cgi @@ -96,8 +96,21 @@ function areyousure(href, message) { % } % if ( $curuser->access_right('Resend invoices') ) { + <% mt('Print this invoice') |h %> +% } + +% 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', + 'actionlabel' => 'Invoice printing and mailing', + &> +% } - <% mt('Re-print this invoice') |h %> +% if ( $curuser->access_right('Resend invoices') ) { % if ( grep { $_ ne 'POST' } $cust_bill->cust_main->invoicing_list ) { | <% mt('Re-email this invoice') |h %> @@ -107,8 +120,11 @@ function areyousure(href, message) { | <% mt('Re-fax this invoice') |h %> % } -

+% } +% if ( $curuser->access_right('Resend invoices') +% || $curuser->access_right('Print and mail invoices') ) { +

% } % my $br = 0;