mirror of
https://github.com/inventree/inventree-app.git
synced 2025-04-28 05:26:47 +00:00
Add extra filtering options for stock items (#394)
This commit is contained in:
parent
637b058a8a
commit
7ef6da4b2a
@ -1,9 +1,16 @@
|
||||
### 0.12.5 - July 2023
|
||||
---
|
||||
|
||||
- Adds extra filtering options for stock items
|
||||
- Updated translations
|
||||
|
||||
### 0.12.4 - July 2023
|
||||
---
|
||||
|
||||
- Pre-fill stock location when transferring stock amount
|
||||
- UX improvements for searching data
|
||||
- Updated translations
|
||||
|
||||
### - 0.12.3 - June 2023
|
||||
---
|
||||
|
||||
|
@ -76,6 +76,9 @@
|
||||
"attention": "Attention",
|
||||
"@attention": {},
|
||||
|
||||
"available": "Available",
|
||||
"@available": {},
|
||||
|
||||
"availableStock": "Available Stock",
|
||||
"@availableStock": {},
|
||||
|
||||
@ -357,6 +360,12 @@
|
||||
"filterComponentDetail": "Show component parts",
|
||||
"@filterComponentDetail": {},
|
||||
|
||||
"filterExternal": "External",
|
||||
"@filterExternal": {},
|
||||
|
||||
"filterExternalDetail": "Show stock in external locations",
|
||||
"@filterExternalDetail": {},
|
||||
|
||||
"filterInStock": "In Stock",
|
||||
"@filterInStock": {},
|
||||
|
||||
|
@ -69,6 +69,12 @@ class _PaginatedStockItemListState extends PaginatedSearchState<PaginatedStockIt
|
||||
@override
|
||||
Map<String, Map<String, dynamic>> get filterOptions {
|
||||
Map<String, Map<String, dynamic>> filters = {
|
||||
"available": {
|
||||
"default": null,
|
||||
"label": L10().available,
|
||||
"help_text": L10().availableStock,
|
||||
"tristate": true,
|
||||
},
|
||||
"in_stock": {
|
||||
"default": true,
|
||||
"label": L10().filterInStock,
|
||||
@ -81,6 +87,12 @@ class _PaginatedStockItemListState extends PaginatedSearchState<PaginatedStockIt
|
||||
"help_text": L10().includeSublocationsDetail,
|
||||
"tristate": false,
|
||||
},
|
||||
"external": {
|
||||
"default": null,
|
||||
"label": L10().filterExternal,
|
||||
"help_text": L10().filterExternalDetail,
|
||||
"tristate": true,
|
||||
},
|
||||
"serialized": {
|
||||
"label": L10().filterSerialized,
|
||||
"help_text": L10().filterSerializedDetail,
|
||||
|
Loading…
x
Reference in New Issue
Block a user