[Koha-bugs] [Bug 12063] Change date calculation for reserve expiration to skip all holidays
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed May 3 15:28:28 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12063
--- Comment #70 from Alex Arnaud <alex.arnaud at biblibre.com> ---
(In reply to Alex Arnaud from comment #69)
> (In reply to Marcel de Rooy from comment #68)
> > sub set_waiting {
> > [...]
> > + if ( C4::Context->preference("ExcludeHolidaysFromMaxPickUpDelay") ) {
> > + $expirationdate = $calendar->days_forward(
> > dt_from_string($self->waitingdate), $max_pickup_delay );
> > + }
> > This may cause something weird. If you do a second
>
> Is it possible that the code of set_waiting (after tranferToDo) should be
> called 2 times for the same reserve ?
Anyway it doesn't hurt to pass today to days_forward. So i'll fix it
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list