]> 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)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 3 Jun 2013 15:03:19 +0000 (12:03 -0300)
commit1c6ab7f78575e7cc4eaee3eca397002ba9e23c8e
tree9a9e39e90c761837a7ce3dea68a1682a9ec523fa
parented34661870e50e04acf61c7f687343b9a2a8f1da
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>
(cherry picked from commit fc61bd30186b0305579c5dee0a14f9d2733cd5db)

Solved conflicts in:
installer/data/mysql/sysprefs.sql
installer/data/mysql/updatedatabase.pl
and changed DB version number.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.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