Adds an "available" filter for stock item API

This commit is contained in:
Oliver
2021-12-02 21:40:03 +11:00
parent 5eccc828fa
commit 123aab89bc
2 changed files with 24 additions and 1 deletions
@@ -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" %}',