[Koha-bugs] [Bug 22134] Add account expiration information to patron details

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 18 14:25:45 CET 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22134

--- Comment #7 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 84191
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=84191&action=edit
Bug 22134: (follow-up) Simplify check for expired patron

This patch move the check for "is_expired" to the template and removes
unnecessary code from the script.

The page now correctly handles messages for patrons who are about to
expire, as defined in the NotifyBorrowerDeparture preference.

To test, apply the patch and locate a patron record which is expired.

 - On the patron detail page (members/moremember.pl) you should see a
   message at the top of the page.
 - In the body of the page, next to the expiration date information, you
   should see similar message and links.

Select a patron who will expire within the period defined in
NotifyBorrowerDeparture.

 - On the patron detail page you should see a message at the top of the page.
 - In the body of the page, next to the expiration date information, you
   should see similar message and links.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list