LP#1249398 clear negative balance API
authorBill Erickson <berick@esilibrary.com>
Fri, 8 Nov 2013 16:43:38 +0000 (11:43 -0500)
committerBill Erickson <berick@esilibrary.com>
Mon, 11 Nov 2013 14:36:31 +0000 (09:36 -0500)
commitea0284c0a9275e0de65487398f4944b8043d63c3
tree5526c2862a6ac0b682d79269a91ebc9e403cc24b
parentae29ea4c9e68a5c8b506e8abab16191331888746
LP#1249398 clear negative balance API

PI call for zero-ing a negative balance transaction.  The API works
on transaction which are negative because of the existence of void
payments.  The void payments are deleted or modified as appropriate to
produce a zero-balance transaction.  Billings and real patron payments
are not affected.

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

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Money.pm