]> git.koha-community.org Git - koha.git/commit
Bug 21915: Call reconcile_balance on manual credit creation
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 30 Nov 2018 12:54:56 +0000 (09:54 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 4 Jan 2019 03:13:40 +0000 (03:13 +0000)
commit0693052bfcd0b4259eb620233550f81eab49eabd
tree2dc21f0afeb9771031066455693bd915230bc43a
parent0c43fa326afa23ef9c98ae2e7b464f6a0e55d880
Bug 21915: Call reconcile_balance on manual credit creation

This patch makes the manual credit creation step call
Koha::Account::reconcile_balance when the AccountAutoReconcile syspref
is set.

To test:
- Apply the patch
- Have some outstanding debits
- Create a manual credit
=> SUCCESS: Same behaviour as always
- Set AccountAutoReconcile
- Create a manual credit
=> SUCCESS: Reconcillation happened
- 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>
members/mancredit.pl