fix invoice cancel
This commit is contained in:
@@ -141,10 +141,6 @@ class _InvoiceInfoState extends State<InvoiceInfo> {
|
||||
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<InvoiceInfo> {
|
||||
SizedBox(
|
||||
height: 10,
|
||||
),
|
||||
isCanceled ? Container() : receiptsBtn,
|
||||
isCanceled ? Container() : cancelBtn,
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user