Koha-clms/t/lib/plugins/Koha/Plugin
Raphael Straub 8081b1e3c1
Bug 39405: Add hook overwrite_calc_fine to override CalcFine in Overdues.pm
This new hook allows to overwrite the koha standard calculation of fines.
This can be useful if your library has a fine policy with graduated fines
per overdue letter.

To test:
1) Apply patch.
2) Run prove -v t/db_dependent/Circulation/CalcFine.t
3) Run prove -v t/db_dependent/Koha/Plugins/Overdues.t
4) Sign off.

Sponsored-by: Karlsruhe Institute of Technology (KIT)
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit fa329e4a09)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
2025-04-25 11:27:40 +02:00
..
Test Bug 35070: (QA follow-up) Fix missing TT filter 2024-01-04 16:51:46 +01:00
BadAPIRoute.pm
…
MarcFieldValues.pm
…
Test.pm Bug 39405: Add hook overwrite_calc_fine to override CalcFine in Overdues.pm 2025-04-25 11:27:40 +02:00
TestItemBarcodeTransform.pm
…