Adjust wording of SIP 'expired' message
authorJeff Godin <jgodin@tadl.org>
Tue, 4 Sep 2012 11:53:55 +0000 (07:53 -0400)
committerJeff Godin <jgodin@tadl.org>
Thu, 26 Dec 2013 19:10:20 +0000 (14:10 -0500)
Adjust wording of SIP 'expired' message on patrons -- this is
displayed on selfcheck terminals.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm

index 65409ac..f76d7de 100644 (file)
@@ -405,7 +405,7 @@ sub screen_msg {
 
     # has the patron account expired?
     my $expire = DateTime::Format::ISO8601->new->parse_datetime(cleanse_ISO8601($u->expire_date));
-    return $b if CORE::time > $expire->epoch;
+    return 'Our records show that we need to update or verify your account information. Please visit the circulation desk.' if CORE::time > $expire->epoch;
 
     return 'OK';
 }