Koha-clms/t/lib
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
..
IdP Bug 31378: Rename Auth Provider to Identity Provider and add Client.t tests 2022-11-08 14:39:51 -03:00
Koha/BackgroundJob Bug 31351: (QA follow-up) Adjust tests accordingly 2022-09-07 13:59:07 -07:00
Mocks Bug 36084: Fix cookie domain for www/ tests 2024-03-04 14:33:24 +01:00
QA Bug 38872: Parse all 'a' element, not only the first one 2025-04-22 23:02:09 +02:00
bad_plugins/Koha/Plugin Bug 29273: Remove warnings from plugin tests 2021-11-15 12:38:39 +01:00
plugins/Koha/Plugin Bug 39405: Add hook overwrite_calc_fine to override CalcFine in Overdues.pm 2025-04-25 11:27:40 +02:00
Bootstrap.pm Bug 19821: Require database_test != database 2021-10-25 11:27:40 +02:00
Dates.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
Mocks.pm Bug 36367: Remove _new_userenv 2024-06-14 11:17:17 +01:00
Selenium.pm Bug 36640: Fix selenium tests 2024-11-14 14:19:27 +01:00
TestBuilder.pm Bug 37448: (QA follow-up) Move POD to make QA Script happy 2025-04-22 23:01:39 +02:00