[Koha-bugs] [Bug 24138] New: suspension miscalculated when Suspension charging interval bigger than 1 and Max. suspension duration is defined
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Nov 29 15:42:35 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24138
Bug ID: 24138
Summary: suspension miscalculated when Suspension charging
interval bigger than 1 and Max. suspension duration
is defined
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Circulation
Assignee: koha-bugs at lists.koha-community.org
Reporter: hagud at orex.es
QA Contact: testopia at bugs.koha-community.org
CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com
When a circulation rule have a suspension charging interval bigger than one and
also has defined a max suspension day, the fine is miscalculated.
The issue is that the max suspension day is affected by "suspension Charging
interval" for example if we have a suspension interval of 15 and max suspension
days of 365 , koha will only apply of 24 suspension day, it seems there a
direct inversion relation between both variables.
reproduce plan.
set up a rule of 7 days suspension every 15 days with max suspension of 365
days
check out a book with due date 28/10/2018, and check in, you will see that the
suspension is just 24 days
If you increase the max suspension day to 730, you will have a suspension of 48
days (aprox)
If you increase the max suspension day to (15x365) you will have the year
suspension.
If you define 1 suspension day every day with max of 365 and you check out
andcheck in the same dates, you will have the suspension of 365 days
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list