[Koha-bugs] [Bug 8236] Prevent renewing if overdue or restriction

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 4 15:52:37 CEST 2012


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

Koha Team Lyon 3 <koha at univ-lyon3.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #10230|0                           |1
        is obsolete|                            |

--- Comment #4 from Koha Team Lyon 3 <koha at univ-lyon3.fr> ---
Created attachment 11958
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=11958&action=edit
Block renewal if any checked out book is late

I corrected the error that caused the renewal was not blocked clicking the
renew buttons.
This patch doesn't really correct a bug but propose a new feature. It is
independant from OverduesBlockCirc syspref. The logic is that a patron can't
renew whatever of his checked out books if any of them is late or if he's
restricted. The renewal remains nevertheless possible for the librarian
checking the Override renewal limit case. 
Plan test :
Set the OverduesBlockCirc syspref to "Ask for confirmation"
Go to a patron account and checkout a book
Force a second checkout specifying an outdated due date to make it late
You'll see that every checked out books are marked as Not Renewable (Overdue)
in the Renew column.

As suggested by Nicole C. Engard, I suppose that this should be rather tight to
a syspref. I will try to make it within a few days if I can find the time and
understand the proper way to do it.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list