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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 3 15:04:36 CEST 2013


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 #14433|0                           |1
        is obsolete|                            |

--- Comment #34 from Koha Team Lyon 3 <koha at univ-lyon3.fr> ---
Created attachment 17926
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=17926&action=edit
Bug 8236 Block renewing for overdue items

At the end , I found more convenient to deal with the restriction case in same
patch.
I keep what seems to be the existing logic - a patron can't renew when he's
restricted (his opac file is freezen) -
making it more consistent. Any renewal for a restricted patron is now also
blocked from webservice and clearly not possible from the pro interface unless
by checking 'override_limit'.
If someone would like to allowed renewal for restricted patrons, I think it
would be not very complicated to add a syspref ( a line of code in
HasWhateverRenewalToBeBlocked and some addings in opac-user.tt)
As for the main object of the patch - blocking for late document - I made some
ajustements you pointed out and one change in the logic :
rather than hiding the 'Renew all' button, I move the checking in
renewscript.pl. So, this button is always available in case of big list of
checkouts items.

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


More information about the Koha-bugs mailing list