LP#1768947 Offline xact presence is cached; show date user/berick/lp1768947-offline-db-webworkers
authorBill Erickson <berickxx@gmail.com>
Fri, 22 Jun 2018 14:56:02 +0000 (10:56 -0400)
committerBill Erickson <berickxx@gmail.com>
Fri, 22 Jun 2018 14:56:07 +0000 (10:56 -0400)
commit5ee508349e67d495984463864a63b3cc7643854d
treec0d9d74cf07517512ee23c840ded1b7abd9b903b
parent9256336c4a4a45dfca4d2aedd7bfc3456a5620ca
LP#1768947 Offline xact presence is cached; show date

Maintain an entry to the object date cache table indicating the time of
the most recent offline transaction entry.  This data is used on the
login page to determine if offline transactions exist, so the staff
logging in can be notified.  We do this in lieu of checking the offline
transaction table, since that table only exists in the offline UI.

As a bonus, since we know the last transaction add time, display this
information in the login page offline xact alert panel.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/templates/staff/t_login.tt2
Open-ILS/web/js/ui/default/staff/offline-db-worker.js
Open-ILS/web/js/ui/default/staff/services/lovefield.js