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@lists.koha-community.org
          Reporter: ha...@orex.es
        QA Contact: testo...@bugs.koha-community.org
                CC: gmcha...@gmail.com, kyle.m.h...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to