mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 11:36:24 +00:00
Enable basic ordering for BOM list
This commit is contained in:
parent
c878f37ec2
commit
6c1099356f
3 changed files with 29 additions and 8 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue