Update company detail display page

This commit is contained in:
Oliver committed 2021-10-03 23:36:26 +11:00
1 parent 488df25758
commit 98e0106a81
2 files changed
+15

No files matched your search

+4
View File
@@ -48,6 +48,10 @@ class InvenTreeCompany extends InvenTreeModel {
bool get isCustomer => (jsondata["is_customer"] ?? false) as bool;
int get partSuppliedCount => (jsondata["parts_supplied"] ?? 0) as int;
int get partManufacturedCount => (jsondata["parts_manufactured"] ?? 0) as int;
// Request a list of purchase orders against this company
Future<List<InvenTreePurchaseOrder>> getPurchaseOrders({bool? outstanding}) async {