[HEAD] (bug #3323) allow rules for reserves in issuing rules.
authorNahuel ANGELINETTI <nahuel.angelinetti@biblibre.com>
Fri, 12 Jun 2009 15:53:43 +0000 (17:53 +0200)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Mon, 13 Jul 2009 10:42:36 +0000 (12:42 +0200)
commitf3034e5a1439deba2a891cbb217ec91f3952ff28
treed060580547082eaa2d619af80c0db413999cac49
parent8fbd3611edfe88e1068eac28dc2b91288a1f6b8b
[HEAD] (bug #3323) allow rules for reserves in issuing rules.

This patch move reserves to issuing rules, and check reserves from branchcode/categorycode/itemtype when it's possible.
In some case we cannot know the branchcode or the itemtype of the document needed to be reserved, so default values(in issuing rules) are used.
It introduce a new syspref : ReservesControlBranch that define which branch should be used to control the user reserves rights and a new column in issuingrules table to store reserves rules.
C4/Circulation.pm
C4/Reserves.pm
admin/smart-rules.pl
installer/data/mysql/en/mandatory/sysprefs.sql
installer/data/mysql/fr-FR/1-Obligatoire/unimarc_standard_systemprefs.sql
installer/data/mysql/kohastructure.sql
installer/data/mysql/updatedatabase.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tmpl
opac/opac-reserve.pl
reserve/request.pl