summaryrefslogtreecommitdiff
path: root/httemplate/view/cust_main/payment_history/invoice.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/view/cust_main/payment_history/invoice.html')
-rw-r--r--httemplate/view/cust_main/payment_history/invoice.html10
1 files changed, 1 insertions, 9 deletions
diff --git a/httemplate/view/cust_main/payment_history/invoice.html b/httemplate/view/cust_main/payment_history/invoice.html
index acb1d6956..be4e93e31 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 ? '</A>' : '' %><% "$void$delete$under" %>
+<% $link %><% $invoice %><% $link ? '</A>' : '' %><% "$void$under" %>
<%init>
my( $cust_bill, %opt ) = @_;
@@ -34,14 +34,6 @@ if ( $cust_bill->closed !~ /^Y/i && $opt{'Void 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->num_cust_event
&& ($opt{'Billing event reports'} || $opt{'View customer billing events'})