Read the renamed lot price field
This commit is contained in:
1 parent
6386022ea7
commit
88b7766aa8
1 file changed
+1
-1
@@ -163,7 +163,7 @@
|
|||||||
});
|
});
|
||||||
} else if (method === "HIFO") {
|
} else if (method === "HIFO") {
|
||||||
sorted.sort(function (left, right) {
|
sorted.sort(function (left, right) {
|
||||||
return right.nok_per_btc_ore - left.nok_per_btc_ore
|
return right.btc_price_ore - left.btc_price_ore
|
||||||
|| left.acquired_date.localeCompare(right.acquired_date)
|
|| left.acquired_date.localeCompare(right.acquired_date)
|
||||||
|| left.id - right.id;
|
|| left.id - right.id;
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in new issue
Block a user