mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
Remove the button counter
This commit is contained in:
parent
3a686b8b7f
commit
2ec662fdef
2 changed files with 14 additions and 44 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue