Add ability to filter purchase orders by "outstanding" status

This commit is contained in:
Oliver Walters committed 2020-06-05 12:06:28 +10:00
1 parent 544e217347
commit 6ebce2b2fd
2 files changed
+17

No files matched your search

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