2
0
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:
Oliver Walters
2020-05-23 11:31:30 +10:00
parent ba0780e265
commit 952f98d78b
7 changed files with 30 additions and 28 deletions

View File

@ -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');