summaryrefslogtreecommitdiff
path: root/httemplate/view/cust_main/payment_history/voided_invoice.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/view/cust_main/payment_history/voided_invoice.html')
-rw-r--r--httemplate/view/cust_main/payment_history/voided_invoice.html10
1 files changed, 1 insertions, 9 deletions
diff --git a/httemplate/view/cust_main/payment_history/voided_invoice.html b/httemplate/view/cust_main/payment_history/voided_invoice.html
index 3d81e662f..ea61f8446 100644
--- a/httemplate/view/cust_main/payment_history/voided_invoice.html
+++ b/httemplate/view/cust_main/payment_history/voided_invoice.html
@@ -10,7 +10,7 @@
% }
<% mt("on [_1]", time2str($date_format, $cust_bill_void->void_date) ) |h %>
</I>
-<% "$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'})