Skip to content

Currencies are not correctly handled in Licenses #8736

@roratonet

Description

@roratonet

Please confirm you have done the following before posting your bug report:

Describe the bug
We have multiple companies all over the world using the same tool on one server, all with different currencies.
The main issue is that, when EUR is set as Default Currency in the Localization Settings, you are forced to use EUR when you create a new license.

In addition, the Currency of ALL Licenses is being changed to the new currency set under Localization Settings. Therefore, if a license has been created with 500 USD and I change the Default Currency (https://demo.snipeitapp.com/admin/localization) to EUR, the license will show with 500 EUR.

To Reproduce
Steps to reproduce the behavior:

  1. Create a License under https://demo.snipeitapp.com/licenses/create with some value in Purchase Cost (note down the current currency)
  2. Click on Admin > Localization Settings
  3. Change the Default Currency to other currency (EUR)
  4. Open the previously created license https://demo.snipeitapp.com/licenses
  5. See that it's Purchase Cost is now the same value, but in other currency - which is not true if you do the change

Expected behavior
Each license has its own currency, since sometimes companies buy licenses in a different currency
Or, split the Licenses section to meet the Locations settings, means that every Location has its own Licenses area under Licenses.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions