https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19204
Claire Gravely <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #74726|0 |1 is obsolete| | Attachment #74727|0 |1 is obsolete| | Attachment #74728|0 |1 is obsolete| | Attachment #74730|0 |1 is obsolete| | --- Comment #10 from Claire Gravely <[email protected]> --- Created attachment 74733 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=74733&action=edit Bug 19204: Make the debarment date calculation depends on finesCalendar This patchs adds the ability to calculate the end of the suspension date (debarment date) using the finesCalendar syspref. Prior to this patch it was never calculating without taking into account the calendar. calculated without taking holidays into account. This was a problem because the restriction could end in the middle of a period the library is closed. Test plan: - Set finescalendar to 'not including days the library is closed' - Set a circulation condition with no fine/maxfine, but fine days and max fine days instead - Check out an item with a due date in the past - Check the item in and verify the restriction date - Clean the restriction - Add holidays to your calendar on the calculated restriction date - Check the item out again with the same due date in the past - Check in the item again - Verify the calculated restriction end date has changed, it's set to the day after the holiday. Fines in days restriction calculation is correctly taking calendar into account. Signed-off-by: Claire Gravely <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
