mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-01 04:56:45 +00:00
Add "depleted" table filter
This commit is contained in:
parent
402301e165
commit
099f56e779
@ -47,6 +47,11 @@ function getAvailableTableFilters(tableKey) {
|
|||||||
title: '{% trans "Active parts" %}',
|
title: '{% trans "Active parts" %}',
|
||||||
description: '{% trans "Show stock for active parts" %}',
|
description: '{% trans "Show stock for active parts" %}',
|
||||||
},
|
},
|
||||||
|
depleted: {
|
||||||
|
type: 'bool',
|
||||||
|
title: '{% trans "Depleted" %}',
|
||||||
|
description: '{% trans "Show stock items which are depleted" %}',
|
||||||
|
},
|
||||||
status: {
|
status: {
|
||||||
options: stockCodes,
|
options: stockCodes,
|
||||||
title: '{% trans "Stock status" %}',
|
title: '{% trans "Stock status" %}',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user