]> git.evergreen-ils.org Git - 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)
committerMike Rylander <mrylander@gmail.com>
Wed, 24 Aug 2016 21:58:21 +0000 (17:58 -0400)
commit7e3a8e2c61f4ee24317d11d478930851671b1c1d
tree7baf7545aa4df81cfb6ced93bbe126bf99894ac8
parent53fc56475feedb6433a28f5c49096de7a46d87a9
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>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/CircNotify.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger.pm