Bug 21915: Reconcile balance on _FixAccountForLostAndReturned call
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 29 Nov 2018 19:46:36 +0000 (16:46 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 4 Jan 2019 03:13:40 +0000 (03:13 +0000)
commit49c9e93292b2f694857edc66e913b9f65d081e8b
tree61b64cd699ace61da73c841a9bf7adf8790cf3e2
parent6d42f6e72c20bad116454b81ee512024179b7387
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>
C4/Circulation.pm
t/db_dependent/Circulation.t