Bug 31157: Allow selection for overdue from address in the UI
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 14 Jul 2022 16:11:45 +0000 (17:11 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 22 Jul 2022 18:14:42 +0000 (15:14 -0300)
commit19fc6220fa97c31f6dbe746fdf6bcded05284bfe
treeb1b8b86029a89cb0f21ba37f1bd5ebd5206eeafc
parente6947b740883670b48f002bba7a64103016bc4ef
Bug 31157: Allow selection for overdue from address in the UI

This patch adds a new system preference to allow systems librarians the
option to pick wich address to use for overdues notices.

We default to 'cron' to allow existing uses of '--frombranch' on the
command line to continue to function but now allow end users to override
this option via the new OverdueNoticeFrom preference.

Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
installer/data/mysql/atomicupdate/bug_31157.pl [new file with mode: 0644]
installer/data/mysql/mandatory/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref
misc/cronjobs/overdue_notices.pl