Fixes for SIP2 Fee Payment.
authorJason Stephenson <jstephenson@mvlc.org>
Thu, 22 Sep 2011 16:52:08 +0000 (12:52 -0400)
committerJason Stephenson <jstephenson@mvlc.org>
Thu, 22 Sep 2011 16:52:08 +0000 (12:52 -0400)
commitc3479499a6c7b30e85ce0f0562b29c5c7005435e
tree768cc396bf2e73f80c2cdc747a3b784ed4630315
parent9b4693f07a26eed41dfdd98cbc8a59a1a6070962
Fixes for SIP2 Fee Payment.

Skip negative or zero bill balance when paying multiple bills.

Log amount paid, bill id, balance, and amount remaining when paying
multiple bills.

Use sprintf("%.2f") to avoid floating point errors.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Open-ILS/src/perlmods/lib/OpenILS/SIP/Transaction/FeePayment.pm