ellite / Wallos

Wallos: Open-Source Personal Subscription Tracker
GNU General Public License v3.0
3.14k stars 140 forks source link

Statistics Page shows incorrect numerical amounts #580

Open edward-bailey opened 1 month ago

edward-bailey commented 1 month ago

Profile is set to GBP No other users Fixer.io API setup Docker Deployed image image

Create a new subscription for £3.99 (Issue occurs regardless of numerical amount) image

Statistics Page shows Monthly cost as £4.77 where as it should be £3.99 image

This is suspiciously the exact amount £3.99 would be in €Euros if it was converted today image

edward-bailey commented 1 month ago

I've worked around this by deleting the database and creating a new user with the main currency as British Pounds on Initial Account Creation. It seems that when the user is created for the first time, if you pick EURO it seems to always be EURO regardless of what is put in the profile.

ellite commented 1 month ago

Hi. I have to look into this. The exchange rates update was probably done while the main currency was Eur. And was not updated when you changed the currency to GBP. It would have (should, at least) been fixed the next time the cronjob ran to update the exchange rates. I have to check what is happening.