]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1479107 adjust to zero API
authorDan Wells <dbw2@calvin.edu>
Fri, 8 Nov 2013 16:43:38 +0000 (11:43 -0500)
committerJason Stephenson <jstephenson@mvlc.org>
Wed, 19 Aug 2015 18:32:52 +0000 (14:32 -0400)
commit3e54f241d1944a83e6774af504fbd1880383c37c
tree666f06dde72e5bda46f9e9db4dee63f1ab357041
parent637f2a2941862ac494263dd24b684a017959a4ff
LP#1479107 adjust to zero API

API call for manually adjusting a transaction to zero.  It works
by rebilling previously voided billings (if necessary) until a
positive balance is reached, then applying adjustment payments
to zero out the balance.

open-ils.circ.money.billable_xact.adjust_to_zero(auth, [xact_ids])

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Open-ILS/examples/fm_IDL.xml
Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Money.pm