]> git.evergreen-ils.org Git - Evergreen.git/commit
Email notification of reservation capture
authorJeff Davis <jdavis@sitka.bclibraries.ca>
Tue, 30 Aug 2011 21:03:16 +0000 (14:03 -0700)
committerMike Rylander <mrylander@gmail.com>
Wed, 7 Sep 2011 20:53:38 +0000 (16:53 -0400)
commitfee611f2b2c5fc7c8ca2e9ec1fc46d6f75f3adbb
tree3a867963b098d415da054785a40f3c99175317a2
parent42c33a3af8727ff8d0f12490438816e5cf84e2a3
Email notification of reservation capture

When a reserved resource is captured, Evergreen does not notify the patron
that the resource is ready for pickup. (As far as I am aware this is true
of all versions of Evergreen that include bookings.) This could give rise
to situations where the patron goes to pick up the resource at the specified
time, only to find that it hasn't been captured and is currently unavailable.

This change gives you a checkbox to enable email notification when creating
the reservation, and adds a hook, reactor, and validator so that you can
create an action trigger to send the emails.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/examples/fm_IDL.xml
Open-ILS/src/perlmods/lib/OpenILS/Application/Booking.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Validator.pm
Open-ILS/src/sql/Pg/095.schema.booking.sql
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.add-reservation-email-notify.sql [new file with mode: 0644]
Open-ILS/web/js/dojo/openils/booking/nls/reservation.js
Open-ILS/web/js/ui/default/booking/reservation.js
Open-ILS/web/templates/default/booking/reservation.tt2