X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fpayment_history%2Fvoided_invoice.html;h=ea61f8446b1f0ddb40ef74a4de4a4f4d6cd740e8;hb=883e34abf9c9a59cf039c2c698b930b2f305be7f;hp=eb00e057e3fa80f514357f16569a67dfaae4e252;hpb=ecc98ec286adeba1290fc6898b39626046ea5eaa;p=freeside.git diff --git a/httemplate/view/cust_main/payment_history/voided_invoice.html b/httemplate/view/cust_main/payment_history/voided_invoice.html index eb00e057e..ea61f8446 100644 --- a/httemplate/view/cust_main/payment_history/voided_invoice.html +++ b/httemplate/view/cust_main/payment_history/voided_invoice.html @@ -6,11 +6,11 @@ % } % my $reason = $cust_bill_void->reason; % if ($reason) { - for <% $reason %> + (<% $reason %>) % } <% mt("on [_1]", time2str($date_format, $cust_bill_void->void_date) ) |h %> -<% "$unvoid$delete$under" %> +<% "$unvoid$under" %> <%init> my( $cust_bill_void, %opt ) = @_; @@ -35,14 +35,6 @@ $unvoid = areyousure_link("${p}misc/unvoid-cust_bill_void.html?invnum=". $cust_b ) if $cust_bill_void->closed !~ /^Y/ && $opt{'Unvoid invoices'}; -my $delete = ''; -$delete = areyousure_link("${p}misc/delete-cust_bill.html?$invnum", - emt('Are you sure you want to delete this invoice?'), - emt('Delete this invoice from the database completely'), - emt('delete') - ) - if $opt{'deleteinvoices'} && $opt{'Delete invoices'}; - my $events = ''; if ( $cust_bill_void->num_cust_event && ($opt{'Billing event reports'} || $opt{'View customer billing events'})