[Koha-bugs] [Bug 17138] UpdateFine() modyfies existing fine records even when there is no need

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 25 14:14:17 CET 2020


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

Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |martin.renvoize at ptfs-europe
                   |                            |.com

--- Comment #15 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
I've implemented a quick fix for this using Koha::Number::Price::round to get
us out of a hole..

But, I think it's a good idea to continue the work here to give us a comparison
function in Koha::Number::Price.. I would suggest we stick to the semantics of
perl's compare to allow for use in sorts in the future should we ever need
that.

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


More information about the Koha-bugs mailing list