update invoice

This commit is contained in:
PhyoThandar
2020-10-16 21:38:39 +06:30
parent ad7d0039fc
commit 274c999959
18 changed files with 658 additions and 398 deletions

View File

@@ -295,12 +295,12 @@ class _HomePageState extends State<HomePage> {
final invoicesBtn = TaskButton("invoices.btn",
icon: FontAwesomeIcons.fileInvoice,
btnCallback: () => Navigator.of(context).push<void>(
CupertinoPageRoute(builder: (context) => InvoiceList())));
btnCallback: () => Navigator.of(context).push<void>(CupertinoPageRoute(
builder: (context) => InvoiceList(forCustomer: false))));
final invoicesBtnFcs = TaskButton("invoices.btn",
icon: FontAwesomeIcons.fileInvoice,
btnCallback: () => Navigator.of(context).push<void>(CupertinoPageRoute(
builder: (context) => InvoiceList(onlyFcs: true))));
builder: (context) => InvoiceList(forCustomer: true))));
final discountBtn = TaskButton("discount.btn",
icon: Entypo.price_ribbon,