LP1883171 & LP1940663: Basic staff client modifications
authorJason Stephenson <jason@sigio.com>
Sun, 7 Nov 2021 21:00:34 +0000 (16:00 -0500)
committerMike Rylander <mrylander@gmail.com>
Thu, 24 Mar 2022 21:26:22 +0000 (17:26 -0400)
commit5ded9caa9c310793775a1fdf60310179d62ddecf
treeb0e14961c5565274b5c53c6d0dfb9727d2b18b06
parentf3811352554f09dc43cebe3f0929c8678dbf99ba
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>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
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