2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 13:05:42 +00:00

Merge pull request #1744 from matmair/stock-table-has-price

Stock table filter: has purchase price
This commit is contained in:
Oliver
2021-07-03 12:05:29 +10:00
committed by GitHub
2 changed files with 17 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" %}',
},
};
}