]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1356477: business logic for email checking receipts
authorMike Rylander <miker@esilibrary.com>
Wed, 3 Aug 2016 16:45:10 +0000 (12:45 -0400)
committerMike Rylander <mrylander@gmail.com>
Wed, 24 Aug 2016 21:58:18 +0000 (17:58 -0400)
commit53fc56475feedb6433a28f5c49096de7a46d87a9
tree204e0ee1f46a5cc90fa3d9d90faf917ca8aac12b
parentb09ad8fd9ccf37b374ddf9840cf20fc63f45a624
LP#1356477: business logic for email checking receipts

This patch adds two methods, open-ils.circ.checkout.batch_notify
and open-ils.circ.checkout.batch_notify.session, that when passed
a set of circulation IDs, creates A/T events for the
checkout notification hooks. In the specific case of the email
checkout receipts feature, the seed data contains a stock
event that would send out emails, but it is conceivable
that other forms of notification could be done by defining
A/T events appropriately.

Signed-off-by: Mike Rylander <miker@esilibrary.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/extras/ils_events.xml
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/CircNotify.pm [new file with mode: 0644]