[Koha-bugs] [Bug 9329] Wrong message for already expired cards

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 28 16:43:59 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9329

--- Comment #1 from Adrien SAURAT <adrien.saurat at biblibre.com> ---
Created attachment 14314
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=14314&action=edit
proposed patch

TEST PLAN :

The best way to test would to have at the same time :
- a SQL client to change the expiry date of a borrower
- an OPAC session opened for the same patron.

Case 1: expiry date is set in the future
-> no warning

Case 2: expiry date is set in the near future (within the
"NotifyBorrowerDeparture" system preference range)
-> a warning says the card will expire on **date**

Case 3: expiry date is set in the past
-> before patch, same warning as Case 2
-> after patch, new warning indicating that the card has expired

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


More information about the Koha-bugs mailing list