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

--- Comment #16 from Jonathan Druart <[email protected]> ---
I think this is wrong.

PriceFormat=US, edit a rule with "360,000" (meaning 360000), and "360.00" is
saved.

In my opinion we should keep things simple to avoid bugs, and don't try
anything else than warn the user that they are doing something wrong.

I would:
Run a dbrev to warn about incorrect values
Add a JS alert when the user is trying to save a rule that is not %.2f
formatted
Raise an exception in Koha::Circulation->store in case incorrect values arrived
there.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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