Bug 21915: Reconcile balance on _FixAccountForLostAndReturned call
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 29 Nov 2018 19:46:36 +0000 (16:46 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 10 Jan 2019 16:17:48 +0000 (16:17 +0000)
commit9765cab77792f50195454581adaa597eb86b5688
tree998df72f7ff517af50bdf68d914699858b1087fb
parent2cd12cf6bca9035705774a29d990603383345b8c
Bug 21915: Reconcile balance on _FixAccountForLostAndReturned call

This patch makes _FixAccountForLostAndReturned reconcile the patron's
account balance, when the AccountAutoReconcile syspref is set.

To test:
- Apply this patch
- Run:
  $ kshell
 k$ prove t/db_dependent/Circulation.t
=> SUCCESS: Tests pass, peace \o/
- Sign off :-D

Sponsored-by: ByWater Solutions
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 49c9e93292b2f694857edc66e913b9f65d081e8b)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/Circulation.pm
t/db_dependent/Circulation.t