LP1883171 & LP1940663: Update Staff client changes based on feedback user/dyrcona/lp1883171-lp1940663-inventory-date-changes
authorJason Stephenson <jason@sigio.com>
Sat, 8 Jan 2022 21:14:28 +0000 (16:14 -0500)
committerJason Stephenson <jason@sigio.com>
Sun, 9 Jan 2022 01:32:50 +0000 (20:32 -0500)
commit522687cccc6c5b7507d8d83728a680c768f1a234
treeb94b00721d9ab6e3740532ecaa068aa9309cf395
parent511950993626a70b5aa68b90995f0a363046b60a
LP1883171 & LP1940663: Update Staff client changes based on feedback

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/item.js