Bug 20457: Overdue and pre-overdue cronjobs not skipping phone notices
authorKyle M Hall <kyle@bywatersolutions.com>
Mon, 25 Mar 2019 18:03:16 +0000 (14:03 -0400)
committerLucas Gass <lucas@bywatersolutions.com>
Mon, 5 Dec 2022 16:50:19 +0000 (16:50 +0000)
commit2a14f470f7af0b5b2a3acea2a52cf744e3f0df5d
treeacfbb290645ea0c711a696c0f4784acf16cbd435
parent4c0025a81c9e88f227bf89bb3c5c3d92d4a6801c
Bug 20457: Overdue and pre-overdue cronjobs not skipping phone notices

The overdue and pre-overdue cron scripts are not skipping the generation of phone notices. This causes many phone notices to be created that will always be left at 'pending' as the Talking Tech outbound script creates its own phone notices and puts them in the message queue.

Test Plan:
1) Enable Talking Tech
2) Enable predue and overdue notice phone transports for a patron
3) Generate overdues and predues, notice phone notices are generated
4) Apply the patch
5) Repeat steps 2-3
6) Note phone notices are not generated

Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit bf6bbc29a0c84581a59624b070cb5747f195ea43)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
misc/cronjobs/advance_notices.pl
misc/cronjobs/overdue_notices.pl