]> git.koha-community.org Git - koha.git/commit
Bug 12529: Add a syspref to make overdue notices respect holidays
authorChris Cormack <chrisc@catalyst.net.nz>
Mon, 26 May 2014 19:50:16 +0000 (07:50 +1200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Fri, 15 Aug 2014 13:56:14 +0000 (10:56 -0300)
commit1cc01f1ff76845f0b685f347aa88bc596870b993
tree215f359b6e65c8d15250b0278b02e843637195c9
parent85c387f8486c4b1bfcc36978cbc5b13c9a73a1b2
Bug 12529: Add a syspref to make overdue notices respect holidays

Test Plan

Set up some overdue triggers, for example 5,10,15
Set up some holidays
Create some items that are past due (one due 5 days, 10 days ago etc)
Run the overdue notices script (misc/cronjobs/overdue_notices.pl)

Notice holidays are ignored

Apply the patch,
Switch the OverdueNoticeCalendar syspref to Use calendar

Run the overdue notices again
Notice holidays are now taken into account

Sponsored-by: BSZ
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
installer/data/mysql/sysprefs.sql
installer/data/mysql/updatedatabase.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref
misc/cronjobs/overdue_notices.pl