http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13035

            Bug ID: 13035
           Summary: Overdue notices send notices for due date in future.
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: Notices
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

Overdue notices, script uses method days_between which returns always positive
value of days, no mater if due_date is higher or lower from date_to_run. This
causes overdue notices to be send for real overdue and for checkouts with due
date in future, which have same days_between as in notice triggers. 

To reproduce:
1. Set up overdue notice triggers for eg. 2 day.
2. Checkout items for 2 borrowers first gets item with due date 2 days in past
and second gets 2 days in future.
3. run ./misc/cronjobs/overdue_notices.pl -n -t
4. watch that notices was generated for both of them.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://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