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:
@ -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(
|
||||
|
Reference in New Issue
Block a user