]> git.evergreen-ils.org Git - Evergreen.git/commit
LP1858118 Hatch enabled check repairs
authorBill Erickson <berickxx@gmail.com>
Tue, 12 Nov 2019 20:13:39 +0000 (15:13 -0500)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 3 Jan 2020 18:42:48 +0000 (13:42 -0500)
commit0125fa23f468469d78eb563273ea3213e9c83258
treee8162ad8223a7ea3ea11ad54707007d5c4fe74a1
parent69619e2df9f15c82af3713e7a11d4862fd04b1f2
LP1858118 Hatch enabled check repairs

Teach code asking Hatch whether printing is enabled to properly handle
the asynchronous response of the setting which now exists as a
workstation setting instead of a localStorage setting.

Related, if Hatch is unavailable, use browser printing regardless of the
hatch printing workstation setting.

Additionally update the "reprint last" handling to store the
last_printed value in localStorage instead of attempting to save its
value as a workstation setting.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Scott <dan@coffeecode.net>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/web/js/ui/default/staff/circ/checkin/app.js
Open-ILS/web/js/ui/default/staff/circ/patron/checkout.js
Open-ILS/web/js/ui/default/staff/services/hatch.js
Open-ILS/web/js/ui/default/staff/services/print.js