Serials: alert notes when receiving
authorDan Wells <dbw2@calvin.edu>
Tue, 10 Sep 2013 22:33:23 +0000 (18:33 -0400)
committerDan Wells <dbw2@calvin.edu>
Tue, 10 Sep 2013 22:33:23 +0000 (18:33 -0400)
commit6f0e65eae91658d7909862c8ab05fb1569c2d6b9
tree0e2a38e481146179b0c8423d0e1fef9341a94a77
parentdc7ec6cfb60d66150ad43d4157a63ea739667217
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]