From 1a6234b6b10c241b218533ed008901d36a4f6c5d Mon Sep 17 00:00:00 2001 From: Jukka Ahonen Date: Thu, 29 Aug 2024 10:07:37 +0300 Subject: [PATCH] revert automatically generated invoices not editable text --- .../components/leaseSections/invoice/InvoicePanel.tsx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/leases/components/leaseSections/invoice/InvoicePanel.tsx b/src/leases/components/leaseSections/invoice/InvoicePanel.tsx index caafc3bc..783dbbcf 100644 --- a/src/leases/components/leaseSections/invoice/InvoicePanel.tsx +++ b/src/leases/components/leaseSections/invoice/InvoicePanel.tsx @@ -87,7 +87,6 @@ class InvoicePanel extends PureComponent { creditedInvoice, interestInvoiceFor } = this.state; - const automaticallyGenerated = invoice && invoice.generated; return ( { footer={invoice && !invoice.sap_id && <> -