[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 15:42:54 CET 2020


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

--- Comment #16 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
I'm now thinking of just making Koha::Number::Price a more formal object we can
adopt and getting current functions that return 'numbers' to return
Koha::Number::Price objects and then overload the various comparison and
mathematic operators to 'do the right thing'... something a bit similar to how
DateTime overloads comparison operators.

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


More information about the Koha-bugs mailing list