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

            Bug ID: 29476
           Summary: Earliest renewal date is displayed wrong in
                    circ/renew.pl for issues with auto renewing
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Circulation
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]

The code in circ/renew.pl uses the code C4::Circulation::GetSoonestRenewDate to
check the soonest renewal date and then displays it to the librarian. However,
the code called by CanBookBeRenewed() that actually does the final check uses
different calculation method for issues with auto renewal enabled. For auto
renewed issues without circulation rules defined for soonest renewal date the
soonest renewal date is the due date, in normal loans case the soonest renewal
date is NOW(). This is not probably a too big annoyance to librarians, I just
wanna clean up this so I can refactor some code in CanBookBeRenewed, will
attach a patch shortly.

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