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

Now processing currencies

This commit is contained in:
eeintech
2021-05-14 16:16:23 -04:00
parent 68f5ec8b6a
commit 1940fd5199
3 changed files with 79 additions and 47 deletions

View File

@ -249,19 +249,6 @@ function loadBomTable(table, options) {
title: '{% trans "Purchase Price Range" %}',
searchable: false,
sortable: true,
formatter: function(value, row, index, field) {
var purchase_price_range = 0;
if (row.purchase_price_min > 0) {
if (row.purchase_price_min >= row.purchase_price_max) {
purchase_price_range = row.purchase_price_min;
} else {
purchase_price_range = row.purchase_price_min + " - " + row.purchase_price_max;
}
}
return purchase_price_range;
},
});
cols.push(