(bug #2893) Allow loan forcing if a syspref is set
authorNahuel ANGELINETTI <nahuel.angelinetti@biblibre.com>
Thu, 8 Jan 2009 13:15:31 +0000 (14:15 +0100)
committerGalen Charlton <galen.charlton@liblime.com>
Mon, 27 Apr 2009 19:29:30 +0000 (14:29 -0500)
commit43e49768065f20b0d774e5a84f1781f6d7c28799
tree553ddcf14f9467cf38eb2b6cce7d6900033147c0
parent6be431d79edf810a40d4d6853ab85450ebcabfa7
(bug #2893) Allow loan forcing if a syspref is set

If the syspref 'AllowNotForLoanOverride'(YESNO) is set to YES, the librarian is able to force a loan on an item set as "not for
loan".
If the item is not for loan and the syspref is set to YES, koha will ask to the librarian if he really want to check-out it, else
do nothing.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
C4/Circulation.pm
installer/data/mysql/en/mandatory/sysprefs.sql
installer/data/mysql/fr-FR/1-Obligatoire/unimarc_standard_systemprefs.sql
installer/data/mysql/updatedatabase.pl