From 9f58e7f74899eced9e64f5906915eddf603780c1 Mon Sep 17 00:00:00 2001 From: Sai Naw Wun Date: Wed, 28 Oct 2020 06:12:30 +0630 Subject: [PATCH] fix invoice cancel --- lib/pages/invoice/invoice_info.dart | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/pages/invoice/invoice_info.dart b/lib/pages/invoice/invoice_info.dart index 66acd78..838a6aa 100644 --- a/lib/pages/invoice/invoice_info.dart +++ b/lib/pages/invoice/invoice_info.dart @@ -141,10 +141,6 @@ class _InvoiceInfoState extends State { text: _invoice.paymentMethod.name, ); - final receiptsBtn = LocalButton( - textKey: "invoice.btn_payment_receipt", - callBack: _cancel, - ); final cancelBtn = LocalButton( textKey: "invoice.cancel.btn", callBack: _cancel, @@ -185,7 +181,6 @@ class _InvoiceInfoState extends State { SizedBox( height: 10, ), - isCanceled ? Container() : receiptsBtn, isCanceled ? Container() : cancelBtn, ], ),