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.
Fixes pushed:
https:/ /git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ berick/ lp1858118- angjs-print- sans-hatch
From commit:
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.