https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17135 --- Comment #40 from Jacek Ablewicz <abl@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.