X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fpayment_history%2Finvoice.html;h=ca59c15fd43a5d9fec8805cb39c47972d431840f;hb=b5d5f7680d0736ff0150b337cd29026135fb2e34;hp=be4e93e310a360186d21bbddab2aa268645c6136;hpb=49c58715c06a5150805fd3019a72dc1bc6361514;p=freeside.git diff --git a/httemplate/view/cust_main/payment_history/invoice.html b/httemplate/view/cust_main/payment_history/invoice.html index be4e93e31..ca59c15fd 100644 --- a/httemplate/view/cust_main/payment_history/invoice.html +++ b/httemplate/view/cust_main/payment_history/invoice.html @@ -1,4 +1,4 @@ -<% $link %><% $invoice %><% $link ? '' : '' %><% "$void$under" %> +<% $link %><% $invoice %><% $link ? '' : '' %><% "$email$void$under" %> <%init> my( $cust_bill, %opt ) = @_; @@ -27,13 +27,22 @@ if ( $cust_bill->closed !~ /^Y/i && $opt{'Void invoices'} ) { $void = ' ('. include('/elements/popup_link.html', 'label' => emt('void'), - 'action' => "${p}misc/void-cust_bill.html?;invnum=". + 'action' => "${p}misc/void-cust_bill.cgi?;invnum=". $cust_bill->invnum, 'actionlabel' => emt('Void Invoice'), ). ')'; } +my $email = ($opt{'has_email_address'} && $opt{'Resend invoices'}) ? + q! (invnum. + q!','Email Invoice Receipt')" TITLE="Send email invoice">email invoice)! + : ''; + my $events = ''; if ( $cust_bill->num_cust_event && ($opt{'Billing event reports'} || $opt{'View customer billing events'})