]> git.evergreen-ils.org Git - working/Evergreen.git/commit
ACQ repair reverse exchange rate in fund transfer
authorBill Erickson <berick@esilibrary.com>
Mon, 23 Jul 2012 22:01:50 +0000 (18:01 -0400)
committerMike Rylander <mrylander@gmail.com>
Tue, 24 Jul 2012 14:22:06 +0000 (10:22 -0400)
commitaff37795825b477a9b82560fe16ea4685202d201
treee75928890901b25bbb985718382021146136f990
parent26e4a209438aa3ccc97a739d33b3afddac40fe60
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>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Financials.pm