2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-16 12:15:31 +00:00

Display "batch code" for stock item

This commit is contained in:
Oliver Walters
2021-08-10 00:10:20 +10:00
parent 2d005ba86b
commit baa3d3a1bb
4 changed files with 14 additions and 2 deletions

View File

@ -220,6 +220,8 @@ class InvenTreeStockItem extends InvenTreeModel {
int get status => jsondata['status'] ?? -1;
String get batch => jsondata["batch"] ?? "";
int get partId => jsondata['part'] ?? -1;
String get purchasePrice => jsondata['purchase_price'] ?? "";