mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-17 04:35:26 +00:00
Remove the button counter
This commit is contained in:
@ -11,6 +11,12 @@ class InvenTreeStockItem extends InvenTreeModel {
|
||||
// TODO
|
||||
}
|
||||
|
||||
String get partName => jsondata['part_name'] as String ?? '';
|
||||
|
||||
double get quantity => jsondata['quantity'] as double ?? 0.0;
|
||||
|
||||
int get locationId => jsondata['location'] as int ?? -1;
|
||||
|
||||
@override
|
||||
InvenTreeModel createFromJson(Map<String, dynamic> json) {
|
||||
var item = InvenTreeStockItem.fromJson(json);
|
||||
|
Reference in New Issue
Block a user