]> git.koha-community.org Git - koha.git/commit
Bug 27835: Add a syspref to control fines calculation on closed days
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 16 Mar 2021 09:16:55 +0000 (10:16 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 22 Mar 2021 09:30:12 +0000 (10:30 +0100)
commit513fb7fb683f8e43a368099916500e170a79fcb2
treec98d722b27327b57bff4e301188e65d28342b5f7
parent445e8a0db03044cda5b3a2a5c447837b349d8005
Bug 27835: Add a syspref to control fines calculation on closed days

Bug 27180 added a patch to not update fines on holidays if finesCalendar was set to ignore.
At least it's what it advertised, but not what it did.

It seems that we need to add a new pref to control the calculation of
fines on closed days to answer the different use cases.

Test plan:
With this patch applied you can run the fines.pl cronjob and play with
the new pref ChargeFinesOnCloseDay to generate fines on close days.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 151966d0967786ab235158b4c1a84e19788610b2)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
misc/cronjobs/fines.pl