2
0
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:
Oliver Walters 2020-08-08 17:08:18 +10:00
parent 402301e165
commit 099f56e779

View File

@ -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" %}',