LP1883171 & LP1940663: Basic staff client modifications
authorJason Stephenson <jason@sigio.com>
Sun, 7 Nov 2021 21:00:34 +0000 (16:00 -0500)
committerMichele Morgan <mmorgan@noblenet.org>
Fri, 4 Feb 2022 19:39:18 +0000 (14:39 -0500)
commit283104c26e7a3eedff5e95da5565b6aad67354bf
treeb08d8914c5bbdf23e5f40dca0567d00d5fda5b75
parent80d1529b73e8ec2f271499774ef1d327f170119e
LP1883171 & LP1940663: Basic staff client modifications

Modify the Item Staus view to check the new return values of the
update copy inventory function.

Fix toast handling in the list view to properly report success and failure.

Add toast handling to the single copy Item Status view to report
success and failure.

NOTE: More work could be done on the toasts to report number of
successful updates, etc.  I tried using the compileContent and trusted
HTML, but this lead to new errors that I couldn't decipher.

This work was sponsored by NOBLE.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Open-ILS/src/templates/staff/cat/item/index.tt2
Open-ILS/web/js/ui/default/staff/cat/item/app.js
Open-ILS/web/js/ui/default/staff/circ/services/circ.js
Open-ILS/web/js/ui/default/staff/circ/services/item.js