Bug 34854: Add ability to skip Talking Tech Itiva notifications for a patron if a...
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 20 Sep 2023 17:18:54 +0000 (13:18 -0400)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 31 Jan 2024 12:44:32 +0000 (13:44 +0100)
commitb360513d624a57f3b48b3038ad22203781f0621e
treed43986117a57ea6c61f0f58f983443c63541f5ea
parentff3e1746ed91070a42182f5a1a312f18bc10fc76
Bug 34854: Add ability to skip Talking Tech Itiva notifications for a patron if a given field matches a given value

Because some notices are mandatory, some libraries would like to allow patrons to opt-in to phone notices. The request is to be able to decide if a patron should get a notice based on the value of a given field ( usually sort1 or sort2 ).

Test Plan:
1) Apply this patch
2) Enable TalkingTechItivaPhoneNotification
3) Set up some overdue items for a patron
4) Enable phone notices for overdues in the notice status triggers
5) Run the outbound script for OVERDUE with -t OVERDUE
6) Note the output the output contains a line for that patron
7) Set the sort1 field for that patron to TEST
8) Run the script again, adding in the option "-i sort1:TEST"
9) Note the ouput no longer contains that patron!

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit efd932ad42a9c9cc6f422f5286a278de49b76f60)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
misc/cronjobs/thirdparty/TalkingTech_itiva_outbound.pl