[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 Jan 17 12:20:54 CET 2014


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

--- Comment #69 from Koha Team Lyon 3 <koha at univ-lyon3.fr> ---
the HasWhateverRenewalToBeBlocked function makes a first level checking to see
if any renewal must be blocked. The reason why may be one of the followings :
1) the borrower is already restricted 
2) the borrower have late item(s) AND the 'blockall' option  of
OverduesBlockRenew syspref is enabled.
the function gives the result of the checking through the value of first
returned variable $blockallitems and also return in the third variable
$overduesblockrenew the value of option syspref OverduesBlockRenew that will be
passed to CanBookBeReserved if a second level checking is necesary on every
items (if $blockallitems != 1).
May be I could rename this function MustRenewalBeBlocked ?

As for the following lines :
$("input[name='renew_checked']").val('Return checked items')" 
cCould you tell me where exactly is the traduction problem since I kept the
preexisting english terms ?

Olivier Crouzet

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


More information about the Koha-bugs mailing list