From: miker Date: Wed, 6 Apr 2011 18:38:16 +0000 (+0000) Subject: Patch from Thomas Berezansky to support patron priv expiration information in SIP2 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=107c448299686a0c5dbd69f65a26327bd4e096df;p=evergreen%2Fjoelewis.git Patch from Thomas Berezansky to support patron priv expiration information in SIP2 git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20000 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/SIP/Patron.pm b/Open-ILS/src/perlmods/OpenILS/SIP/Patron.pm index c792d2a958..607dce7530 100644 --- a/Open-ILS/src/perlmods/OpenILS/SIP/Patron.pm +++ b/Open-ILS/src/perlmods/OpenILS/SIP/Patron.pm @@ -240,6 +240,13 @@ sub sip_birthdate { return $dob; } +sub sip_expire { + my $self = shift; + my $expire = OpenILS::SIP->format_date($self->{user}->expire_date); + syslog('LOG_DEBUG', "OILS: Patron Expire = $expire"); + return $expire; +} + sub ptype { my $self = shift;