[open-ils-commits] [GIT] Evergreen ILS branch rel_2_1 updated. 27e80bbbfa1878b66012af9af7e8c3ccab7b1abd
Evergreen Git
git at git.evergreen-ils.org
Thu Jun 16 11:54:08 EDT 2011
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, rel_2_1 has been updated
via 27e80bbbfa1878b66012af9af7e8c3ccab7b1abd (commit)
from 4773216c83c9f2b47bef90c3d08608adf9cf2024 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 27e80bbbfa1878b66012af9af7e8c3ccab7b1abd
Author: Bill Erickson <berick at esilibrary.com>
Date: Thu Jun 16 11:50:16 2011 -0400
Repaired exchange rate PO activation bug
Code was using the wrong hash key to read data from cstore request,
resulting in a NULL debit amount when activating a PO with a different
provider => fund currencies. This resulted in POs that could not be
activated.
Signed-off-by: Bill Erickson <berick at esilibrary.com>
diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm
index 917b20f..dafa288 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm
@@ -689,7 +689,7 @@ sub create_lineitem_detail_debit {
$lid->fund->currency_type, # destination currency
$li->estimated_unit_price # source amount
]
- })->[0]->{value};
+ })->[0]->{'acq.exchange_ratio'};
}
my $debit = create_fund_debit(
-----------------------------------------------------------------------
Summary of changes:
.../perlmods/lib/OpenILS/Application/Acq/Order.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list