]> 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)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Tue, 23 Mar 2021 19:03:02 +0000 (19:03 +0000)
commit54b35cab23d4c8f5892ab2f42cdf324efc38f4ff
tree2bfeaae020d2a30e31d2ea0dd4bed5524125950b
parent5e0f70cb3819e8fa4279546036834105ab78c88f
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>
(cherry picked from commit 513fb7fb683f8e43a368099916500e170a79fcb2)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
misc/cronjobs/fines.pl