mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-08 03:11:22 +00:00
Now processing currencies
This commit is contained in:
1 parent
68f5ec8b6a
commit
1940fd5199
3 files changed
+79
-47
No files matched your search
@@ -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