]> git.koha-community.org Git - koha.git/commit
Bug 13592: Add an option to charge for any hold placed
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 11 Nov 2015 15:12:45 +0000 (15:12 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Thu, 31 Dec 2015 15:59:05 +0000 (15:59 +0000)
commit06e372d0be648ec8652d97cfaf56af885a679e2b
tree2751df738aa378acbe3e517317825d4657c6e8c0
parent1d64ce817e58f26af8a7052230c53b713125c9a2
Bug 13592: Add an option to charge for any hold placed

Currently the fee is applied on if all items for the record are issued
and at least one hold already exists on the record.
This patch does not give a complete answer to the problem (see
discussion on bug 13592 for the other user's expectations).
It only adds the ability to charge for any hold placed regardless of the
conditions.

Test plan:
1) Execute the updatedb entry to insert the new pref
2) Confirm that the behavior is the same as before applying this patch
3) Change the HoldFeeMode pref to 'always'
4) Note that the fee is applied for any hold placed

Signed-off-by: Sally Healey <sally.healey@cheshiresharedservices.gov.uk>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/Reserves.pm
installer/data/mysql/atomicupdate/bug_13592_add_HoldFeeMode_pref.sql [new file with mode: 0644]
installer/data/mysql/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref
t/db_dependent/Reserves/GetReserveFee.t