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

--- Comment #18 from Martin Renvoize <martin.renvo...@ptfs-europe.com> ---
(In reply to Jonathan Druart from comment #16)
> 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.

So, are you saying the simple 'unformat' call isn't working as we would
expect..

That's a shame :(

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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