mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 11:36:24 +00:00
Toot toot, it's the refactor tractor
- Introduces the concept of a "BarcodeHandler" - Re-uses most of the code - Custom handlers for barcode success / failure
This commit is contained in:
parent
e39cd4c009
commit
c15d3a6524
4 changed files with 290 additions and 147 deletions
|
|
@ -168,6 +168,8 @@ class InvenTreeStockItem extends InvenTreeModel {
|
|||
return false;
|
||||
}
|
||||
|
||||
String get uid => jsondata['uid'] ?? '';
|
||||
|
||||
int get partId => jsondata['part'] ?? -1;
|
||||
|
||||
int get trackingItemCount => jsondata['tracking_items'] as int ?? 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue