Read the renamed lot price field

This commit is contained in:
ai-bot committed 2026-11-14 18:22:08 +00:00
1 parent 6386022ea7
commit 88b7766aa8
1 file changed
+1 -1
+1 -1
View File
@@ -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;
}); });