mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-18 13:05:42 +00:00
Improved table filtering for "purchase order" table (as seen from "part" view)
This commit is contained in:
@ -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