http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10113

Saiful Amin <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |In Discussion
                 CC|                            |[email protected]
                   |                            |om

--- Comment #1 from Saiful Amin <[email protected]> ---
I think this is due to the updateCosts() function in acq.js which cannot handle
whitespace in the currency code. The problem exists even in the latest stable.

I don't know enough javascript to fix it. But, an easy way to avoid this
problem is not having any whitespace in the currency code (e.g., use 'USD'
instead of 'US Dollars').

For existing system, since the staff interface does not allow changing the
currency code, it can be changed directly in the database table. For example,
to change code 'US Dollars' to 'USD' use this query:

SQL> update currency set currency = 'USD' where currency = 'US Dollars';

This effectively solves this problem. But I'm not sure if it affects any other
areas (say reports or old orders/budgets). Let someone confirm it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to