From b0e09da57403b2017f530e1f6cfab0223e8b5089 Mon Sep 17 00:00:00 2001 From: miker Date: Wed, 6 Apr 2011 18:37:16 +0000 Subject: [PATCH] Patch from Thomas Berezansky to support patron priv expiration information in SIP2 git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_1@19999 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm b/Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm index c792d2a958..607dce7530 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm +++ b/Open-ILS/src/perlmods/lib/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; -- 2.11.0