fix invoice display
This commit is contained in:
@@ -120,8 +120,10 @@ class _InvoiceListState extends State<InvoiceList> {
|
||||
itemCount: invoiceModel.invoices.length,
|
||||
itemBuilder: (BuildContext context, int index) {
|
||||
return InvoiceListRow(
|
||||
key: ValueKey(invoiceModel.invoices[index].id),
|
||||
invoice: invoiceModel.invoices[index]);
|
||||
key: ValueKey(invoiceModel.invoices[index].id),
|
||||
invoice: invoiceModel.invoices[index],
|
||||
forCustomer: widget.forCustomer,
|
||||
);
|
||||
}),
|
||||
onRefresh: () => invoiceModel.refresh(),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user