mirror of
https://github.com/inventree/inventree-app.git
synced 2025-08-08 05:20:52 +00:00
Enable basic ordering for BOM list
This commit is contained in:
@@ -34,6 +34,9 @@ class InvenTreeBomItem extends InvenTreeModel {
|
||||
};
|
||||
}
|
||||
|
||||
// Extract the 'reference' value associated with this BomItem
|
||||
String get reference => (jsondata["reference"] ?? "") as String;
|
||||
|
||||
// Extract the 'quantity' value associated with this BomItem
|
||||
double get quantity => double.tryParse(jsondata["quantity"].toString()) ?? 0;
|
||||
|
||||
|
Reference in New Issue
Block a user