mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-17 12:45:26 +00:00
qr_utils is causing issues - comment out for now, need to look at a different barcode library
This commit is contained in:
@ -72,10 +72,10 @@ class InvenTreePart extends InvenTreeModel {
|
||||
String URL = "part/";
|
||||
|
||||
// Get the number of stock on order for this Part
|
||||
double get onOrder => double.tryParse(jsondata['on_order'].toString() ?? '0');
|
||||
double get onOrder => double.tryParse(jsondata['ordering'].toString() ?? '0');
|
||||
|
||||
// Get the stock count for this Part
|
||||
double get inStock => double.tryParse(jsondata['total_stock'].toString() ?? '0');
|
||||
double get inStock => double.tryParse(jsondata['in_stock'].toString() ?? '0');
|
||||
|
||||
// Get the number of units being build for this Part
|
||||
double get building => double.tryParse(jsondata['building'].toString() ?? '0');
|
||||
|
Reference in New Issue
Block a user