disable cancel invoice in customer
This commit is contained in:
@@ -141,6 +141,28 @@ class InvoiceListRow extends StatelessWidget {
|
||||
builder: (context) =>
|
||||
InvoiceInfo(invoice: invoice, forCustomer: forCustomer)));
|
||||
},
|
||||
),
|
||||
CupertinoActionSheetAction(
|
||||
child: Row(
|
||||
children: <Widget>[
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(left: 8.0),
|
||||
child: Text(
|
||||
'Payments',
|
||||
style: TextStyle(fontSize: 16, color: Colors.black),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
onPressed: () async {
|
||||
//to go invoice info page
|
||||
Navigator.pop(context);
|
||||
Navigator.of(context).push(CupertinoPageRoute(
|
||||
builder: (context) => PaymentPage(
|
||||
invoice: invoice,
|
||||
forCustomer: forCustomer,
|
||||
)));
|
||||
},
|
||||
)
|
||||
],
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user