]> git.koha-community.org Git - koha.git/commit
Bug 19804: Add a 'Fine charging interval' for suspension days
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 13 Dec 2017 19:57:40 +0000 (16:57 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 9 Apr 2018 19:15:19 +0000 (16:15 -0300)
commit2e1fe25748f4454b52170f37d19cdb26a819e517
tree7afa20d8a1f8e415248aba5f85e33c00ed93dcd9
parentff3ca4a489ce5ba16c732e477b1829552c4ccbe8
Bug 19804: Add a 'Fine charging interval' for suspension days

We already have a chargeperiod (Fine charging interval) value which is
taken into account for fine ($) for not for the suspension period.

This patch adds a new column suspension_chargeperiod (Fine day charging
interval) to add the same behaviour when a suspension is calculated.

Test plan:
Add overdue item and play with the circulation rules (and the calendar).
The suspension period must be correctly calculated.
Please provide the different tests you made.

Signed-off-by: Hugo Agud <hagud@orex.es>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Circulation.pm
t/db_dependent/Circulation.t