Warn on card expiring within 28 days user/mrpeters-isl/alert_on_card_expiring_soon
authorMichael Peters <mrpeters@library.in.gov>
Thu, 8 Nov 2012 19:14:42 +0000 (14:14 -0500)
committerMichael Peters <mrpeters@library.in.gov>
Thu, 8 Nov 2012 19:21:40 +0000 (14:21 -0500)
commit88335d708a5edd7c47c2cb72adc265747f744149
treef9015e2d24d3c98f6771a80fc02f96c6c846f33a
parentfdcc7ffb3efef4705071e464c7f5a9b0213be82e
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>
Open-ILS/xul/staff_client/server/locale/en-US/patron.properties
Open-ILS/xul/staff_client/server/patron/display.js