LP1883171 & LP1940663: Basic staff client modifications
authorJason Stephenson <jason@sigio.com>
Sun, 7 Nov 2021 21:00:34 +0000 (16:00 -0500)
committerJason Stephenson <jason@sigio.com>
Thu, 27 Jan 2022 01:02:21 +0000 (20:02 -0500)
commite1910f278773f865167a62aafe5d73a16989135f
treeb08d8914c5bbdf23e5f40dca0567d00d5fda5b75
parent8e2986ac268bea32f9b2082c619ea9c2056660cb
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>
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