]> git.evergreen-ils.org Git - Evergreen.git/commit
Serials: alert notes when receiving
authorDan Wells <dbw2@calvin.edu>
Tue, 10 Sep 2013 22:33:23 +0000 (18:33 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Tue, 17 Sep 2013 18:55:12 +0000 (14:55 -0400)
commit471bb8b53bb46da3978ff1390fba547ba4c8e8ca
tree60b4c4b600361387894bbd41c7ed653574630e16
parentab37336715cb7d84ed0c30b1cd2e9e6b85933774
Serials: alert notes when receiving

This commit adds the ability to flag serial notes as receive-time
alerts, and also adds the interface widgets necessary to check for
and see these alerts in the serial control receiving interface.

notes.xul was modified extensively to allow for an arbitrary pile of
notes to be displayed, rather than just displaying the notes for a
single object (which it still can do).

As it stands, the notes are compiled locally from already retrieved
objects, but it would also be reasonable to add a middle-layer
function to do roughly the same thing.  Depending on how this is done
it could require a fair amount of logic duplication, so it might be
better done as part of a larger interface/back-end combined
refactoring.

This commit also tidies up a few other minor things in
manage_items.js, including adding automatic refresh when notes are
added/edited/deleted, and also removing a duplicate function.

Alerting the notes in the batch-receive interface is still TODO, but
should be fairly simple to add once this commit is in place.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/examples/fm_IDL.xml
Open-ILS/src/sql/Pg/210.schema.serials.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.serial_note_alerts.sql [new file with mode: 0644]
Open-ILS/xul/staff_client/server/locale/en-US/serial.properties
Open-ILS/xul/staff_client/server/serial/manage_items.js
Open-ILS/xul/staff_client/server/serial/manage_items.xul
Open-ILS/xul/staff_client/server/serial/notes.xul
Open-ILS/xul/staff_client/server/skin/media/images/bell.png [new file with mode: 0644]
Open-ILS/xul/staff_client/server/skin/media/images/bell_disabled.png [new file with mode: 0644]
Open-ILS/xul/staff_client/server/skin/media/images/licenses.txt [new file with mode: 0644]