mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
Add new stock code
This commit is contained in:
parent
c1312e4e5d
commit
bee04e2cd8
3 changed files with 6 additions and 3 deletions
|
|
@ -57,6 +57,7 @@ class InvenTreeStockItem extends InvenTreeModel {
|
|||
static const int DESTROYED = 60;
|
||||
static const int REJECTED = 65;
|
||||
static const int LOST = 70;
|
||||
static const int RETURNED = 85;
|
||||
|
||||
String statusLabel(BuildContext context) {
|
||||
|
||||
|
|
@ -73,6 +74,8 @@ class InvenTreeStockItem extends InvenTreeModel {
|
|||
return I18N.of(context).rejected;
|
||||
case LOST:
|
||||
return I18N.of(context).lost;
|
||||
case RETURNED:
|
||||
return I18N.of(context).returned;
|
||||
default:
|
||||
return status.toString();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue