]> 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)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 22 Aug 2016 22:02:05 +0000 (18:02 -0400)
commit317856df206e8e548b5f30d662267d5ec1c9fc84
treed1e29d5048a341a48c4fc0e634345fbbdfa8fc1f
parenta452d2f9fbda2e1f987720a877a0ed87ec3d734a
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]