Adds an "available" filter for stock item API

This commit is contained in:
Oliver committed 2021-12-02 21:40:03 +11:00
1 parent 5eccc828fa
commit 123aab89bc
2 files changed
+24 -1

No files matched your search

@@ -173,6 +173,11 @@ function getAvailableTableFilters(tableKey) {
title: '{% trans "Is allocated" %}',
description: '{% trans "Item has been allocated" %}',
},
available: {
type: 'bool',
title: '{% trans "Available" %}',
description: '{% trans "Stock is available for use" %}',
},
cascade: {
type: 'bool',
title: '{% trans "Include sublocations" %}',