From: Jeff Davis Date: Tue, 21 Feb 2017 01:20:26 +0000 (-0800) Subject: LP#1667221: use library currency as SIP patron currency instead of always using USD X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=3208e7efa9bfaef16f16bbf96db1ad75cd1c7dec;p=Evergreen.git LP#1667221: use library currency as SIP patron currency instead of always using USD Signed-off-by: Jeff Davis Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm b/Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm index 08450841ba..706db2c7fb 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm @@ -430,7 +430,7 @@ sub check_password { sub currency { # not really implemented my $self = shift; syslog('LOG_DEBUG', 'OILS: Patron->currency()'); - return 'USD'; + return OpenILS::SIP->config()->{implementation_config}->{currency} || 'USD'; } sub fee_amount {