]> git.koha-community.org Git - koha.git/commit
Bug 10120: Adding a syspref to control if overdue charges are updated on return
authorChris Cormack <chris@bigballofwax.co.nz>
Mon, 29 Apr 2013 20:56:22 +0000 (08:56 +1200)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 24 May 2013 15:47:12 +0000 (08:47 -0700)
commitfc61bd30186b0305579c5dee0a14f9d2733cd5db
tree167a1ace3af49bc854912dde7efa7dffc6d5e986
parent7e10f6fb78ae7fa2dfc4f52a3791ac35082237ac
Bug 10120: Adding a syspref to control if overdue charges are updated on return

On by default.

To Test

1/ Create an overdue item, that should get fines
2/ Return the item
3/ Check the borrowers record to see if the fine has been added/updated

Apply patch
1/ Make sure preference is set to do
Repeat steps 1-3 above

2/ Switch the preference to don't
Repeat stes 1-2
3/ Check the fine hasn't been added/updated

Signed-off-by: David Cook <dcook@prosentient.com.au>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
All tests and QA script pass, works as described.
I would categorize this a bug fix for libraries that don't want
the new changed  behaviour that was introduced by recalculating
fines on return.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/Circulation.pm
installer/data/mysql/sysprefs.sql
installer/data/mysql/updatedatabase.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref