2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-03 12:10:59 +00:00

Add ability to filter purchase orders by "outstanding" status

This commit is contained in:
Oliver Walters
2020-06-05 12:06:28 +10:00
parent 544e217347
commit 6ebce2b2fd
2 changed files with 17 additions and 0 deletions

View File

@ -78,11 +78,16 @@ function getAvailableTableFilters(tableKey) {
// Filters for the "Order" table
if (tableKey == "purchaseorder") {
return {
status: {
title: '{% trans "Order status" %}',
options: purchaseOrderCodes,
},
outstanding: {
type: 'bool',
title: '{% trans "Outstanding" %}',
},
};
}