Bug 31438 - Currency can't have "spaces" in currency name
Summary: Currency can't have "spaces" in currency name
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: System Administration (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low minor (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-22 14:58 UTC by verolencinas
Modified: 2022-11-17 00:03 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description verolencinas 2022-08-22 14:58:41 UTC
When using different currencies with similar names, Koha should advert that you can't add currency names with spaces in them. This result in later not being able to add orders.
For example, defining currencies like "PESO ARG", "PESO BOL", "PESO CHILE", etc. result in the mentioned problem to not be able to add orders in the acquisition module. Koha should advert that currency names should be entered without spaces.
Comment 1 Katrin Fischer 2022-11-17 00:03:30 UTC
I think maybe we should fix the behavior instead. 

It looks like something with the JavaScript on this page is going wrong.

When you modify an existing order and change the currency to one with a space, the form shows a lot of NaN instead of the calculated values.