mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-16 04:05:28 +00:00
Add ability to filter stock by "in_stock" (#376)
This commit is contained in:
@ -80,6 +80,12 @@ class _PaginatedStockItemListState extends PaginatedSearchState<PaginatedStockIt
|
||||
|
||||
@override
|
||||
Map<String, Map<String, dynamic>> get filterOptions => {
|
||||
"in_stock": {
|
||||
"default": true,
|
||||
"label": L10().filterInStock,
|
||||
"help_text": L10().filterInStockDetail,
|
||||
"tristate": true,
|
||||
},
|
||||
"cascade": {
|
||||
"default": false,
|
||||
"label": L10().includeSublocations,
|
||||
|
Reference in New Issue
Block a user