ACQ repair reverse exchange rate in fund transfer collab/berick/acq-exchange-rate-reverse-support
authorBill Erickson <berick@esilibrary.com>
Mon, 23 Jul 2012 22:01:50 +0000 (18:01 -0400)
committerBill Erickson <berick@esilibrary.com>
Mon, 23 Jul 2012 22:01:50 +0000 (18:01 -0400)
commitba587b66e8346b5bf79dc15f0366bfba1cb1d495
tree0a8401a53cef4a22085b11e0cdc49164bc744784
parent488d6535c75189e7654c95337f3b2d0005938018
ACQ repair reverse exchange rate in fund transfer

Updated fund transfer code to use the DB exchange rate stored procedure.
In addition to code consolidation, this allows the fund trasnfer
operation to work if an exchange rate for the two currencies involved is
only defined in one direction.  The existing code required that the rate
be defined in both directions in the database or it would produce an
error in the logs and no visible error in the interface.

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