Now processing currencies

This commit is contained in:
eeintech committed 2021-05-14 16:16:23 -04:00
1 parent 68f5ec8b6a
commit 1940fd5199
3 files changed
+79 -47

No files matched your search

-13
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(