[Koha-bugs] [Bug 12310] Accept different monetary formats as input

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 22 11:19:11 CET 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12310

--- Comment #5 from Marc Véron <veron at veron.ch> ---
Testing on Home > Patrons > Pay fines (Pay amount)...

CHF 1.45 -> 1.45 OK
12.50$ -> 12.50 OK
199 -> 199.00 OK
1'345.95 -> 1345.95 OK (Switzerland)
12,34,567.89 -> 1234567.89 OK (Pakistan, India)
12,34,567 -> 1234567.00 OK
1 234 567,89 -> 123456789.00  OK (Germany...)

However:
1.234.567,89 -> 0.23 NOT OK (Spain...)
1.234.567 -> 0.23 NOT OK
(Maybe a Spanish speaking person could comment on that one? Mail to dev list?)

See also:
https://en.wikipedia.org/wiki/Decimal_mark

-----
Note for testing:

On Home > Patrons > Pay fines (Pay amount), it immediately triggers on field
exit

On Home > Patrons > Manual invoice and Home > Patrons > Manual credit, it
triggers while submitting, same with Home > Administration > Budgets > Add
budget 

------

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list