[Koha-bugs] [Bug 24138] suspension miscalculated when Suspension charging interval bigger than 1 and Max. suspension duration is defined
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Dec 6 12:15:06 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24138
--- Comment #8 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
my $suspension_days = $deltadays * $finedays;
finedays is a number, deltadays is not ?
and then:
floor( $suspension_days->in_units('days') etc
suspension_days is just a number not a duration?
Does not look good to me.
Why do the tests pass ? Do we need more tests ?
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list