Warn on card expiring within 28 days
authorMichael Peters <mrpeters@library.in.gov>
Thu, 8 Nov 2012 19:14:42 +0000 (14:14 -0500)
committerBen Shum <bshum@biblio.org>
Thu, 15 Nov 2012 15:49:08 +0000 (10:49 -0500)
commit3cde505f043999aeb89f41731f5ef20747fc4283
tree3079210625c2b53e8ab15a38b917c7770beeffec
parent224813acbb19d414e7faa4e5f4d3ab3ed0f0b420
Warn on card expiring within 28 days

Thank you to Thomas Berzansky for pointing out a simple way of
accomplishing this, since we were already checking and alerting
if card was already expired.

This places an alert on the "stop sign" page if the card expires
within 28 days from the current date.

Interval can be configured by editing preexpire.setDate in display.js.

Signed-off-by: Michael Peters <mrpeters@library.in.gov>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/xul/staff_client/server/locale/en-US/patron.properties
Open-ILS/xul/staff_client/server/patron/display.js