Remove duplicate category.

Fix changing main currency.
Fix currency conversion.
Pre-Select main currency when adding a new subscription.
This commit is contained in:
ellite
2023-11-10 23:29:16 +01:00
parent eee998c93d
commit 7e4ca23811
5 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -50,7 +50,7 @@
return $price;
} else {
$fromRate = $exchangeRate['rate'];
return number_format($price * $fromRate, 2);
return number_format($price / $fromRate, 2);
}
}