Bug 12205 : Add a system preference allowing hold charges to block circ
authorChris Cormack <chrisc@catalyst.net.nz>
Tue, 6 May 2014 22:15:20 +0000 (10:15 +1200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 1 Sep 2014 15:57:10 +0000 (12:57 -0300)
commit48e0107684267762b55ae0eae3e3cfccbb34d92b
tree3d93e0b2b47ce81f4d7691d19584ef0c1ea1c3ad
parent14ad9131f95f9e3a51ff1e6bb7c82f6832522b2c
Bug 12205 : Add a system preference allowing hold charges to block circ

Currently, if you have holds charges, they are not taken into
consideration when circulating items.

Manual Invoices, and rental charges are governed by a systempreference

Holds are never counted

And all other charges (overdues, lost items etc) are counted

This patch adds a systempreference to allow Hold charges to be counted
as well.

To test

1/ Set a borrower category to have holds charges
2/ Place a hold for a borrower in that category
3/ Go to checkout, notice that charge is not showing or blocking on
that screen
4/ apply patch
5/ notice that charge now shows on checkout

Signed-off-by: Nick Clemens <nick@quecheelibrary.org>

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/Members.pm
installer/data/mysql/updatedatabase.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref