Bug 31438

Summary: Currency can't have "spaces" in currency name
Product: Koha Reporter: verolencinas <verolencinas>
Component: System AdministrationAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: gmcharlt
Version: unspecified   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

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.