]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1356477: add ability to unconditionally send email
authorGalen Charlton <gmc@esilibrary.com>
Mon, 8 Aug 2016 20:50:08 +0000 (16:50 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 22 Aug 2016 22:02:05 +0000 (18:02 -0400)
commit4c568da5773436ef082b2a6d8773e8b698c83877
treefc4978d43acda78845aa8bc06c00e66fd6d8406a
parent317856df206e8e548b5f30d662267d5ec1c9fc84
LP#1356477: add ability to unconditionally send email

This patch defines and uses an
open-ils.trigger.event.autocreate.ignore_opt_in method that does what
it says on the tin; the caller is reponsible for not abusing this.

This supports a use case in the webstaff checkout interface where staff
can choose to have the receipt be emailed, provided that the patron
record has an email address defined, even if the user setting to
email receipts by default is not set. (It is assumed that the staff
member would have gotten permission from the patron on the spot.)

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/CircNotify.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger.pm