2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 04:55:44 +00:00

implement purchase price filter for stock table

Closes #1717
This commit is contained in:
2021-07-02 16:31:42 +02:00
parent ded0fb5353
commit 9c8717574a
2 changed files with 18 additions and 1 deletions

View File

@ -205,7 +205,12 @@ function getAvailableTableFilters(tableKey) {
batch: {
title: '{% trans "Batch" %}',
description: '{% trans "Batch code" %}',
}
},
has_purchase_price: {
type: 'bool',
title: '{% trans "Has purchase price" %}',
description: '{% trans "Show stock items which have a purchase price set" %}',
},
};
}