[Koha-bugs] [Bug 26144] New: Due date should not be subtracted from billable days with FinesCaendar on

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 5 15:49:31 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26144

            Bug ID: 26144
           Summary: Due date should not be subtracted from billable days
                    with FinesCaendar on
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Circulation
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: andrew at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com

To recreate:
- set finesCalendar to ignore the calendar
- set circ rules to charge $1 per day, no grace period
- set library as closed yesterday on calendar
- check item out with due date of yesterday
- run fines.pl
- see patron has $1 fine

- change finesCalendar to use the calendar
- check item out with due date of yesterday
- run fines.pl
- see patron has no fine

When we count billable days for the fine, we don't count the due date itself.
So we should not count the due date when counting holidays to be subtracted
from the billable 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