mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-09 11:46:26 +00:00
Improved table filtering for "purchase order" table (as seen from "part" view)
This commit is contained in:
1 parent
1ad91811a5
commit
463192e0b9
2 files changed
+34
-7
No files matched your search
@@ -308,9 +308,17 @@ function getAvailableTableFilters(tableKey) {
|
||||
// Filters for PurchaseOrderLineItem table
|
||||
if (tableKey == 'purchaseorderlineitem') {
|
||||
return {
|
||||
completed: {
|
||||
pending: {
|
||||
type: 'bool',
|
||||
title: '{% trans "Completed" %}',
|
||||
title: '{% trans "Pending" %}',
|
||||
},
|
||||
received: {
|
||||
type: 'bool',
|
||||
title: '{% trans "Received" %}',
|
||||
},
|
||||
order_status: {
|
||||
title: '{% trans "Order status" %}',
|
||||
options: purchaseOrderCodes,
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user