[Koha-bugs] [Bug 17135] Fine for the previous overdue may get overwritten by the next one

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 13 10:23:33 CEST 2016


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

--- Comment #40 from Jacek Ablewicz <abl at biblos.pk.edu.pl> ---
(In reply to Marcel de Rooy from comment #37)

> You use sub BorType in Overdues. It should actually not be there anymore
> (imho) with the new series of Koha Objects.

> Why do you use DateTime directly here: my $today = DateTime->now( time_zone
> => C4::Context->tz() );

Mostly because half of this script is essentially dumbed-down code copied from
fines.pl (parts which are needed for calling CalcFine()), and tinkering with it
too much / trying to modernize it here could be kinda counterproductive IMO
(especially as it needs to be backported for 16.05 too).

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


More information about the Koha-bugs mailing list