Bug 11696: ensure that print overdue notices use the print template
authorJonathan Druart <jonathan.druart@biblibre.com>
Thu, 6 Feb 2014 10:41:35 +0000 (11:41 +0100)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 2 May 2014 20:29:21 +0000 (20:29 +0000)
commit7ca4f590acf99089aa5423ec0f3d086540d4f390
tree7774a3326c850fcbd0f5d2b59f7ac967a3468944
parent7f1bb7c6b2a0a4489d5ba2a4f42d2e60a645f510
Bug 11696: ensure that print overdue notices use the print template

This reordering avoids the case where a print notice is sent with an
email or sms template is no email or SMS is defined.

Test plan:
Check print, sms and email for an overdue rule
Don't define an email address and generate an overdue for a user
Define 3 templates for the notice used
Launch the cronjob script and verify the print notice is generated using
the print template.

Signed-off-by: Olli-Antti Kivilahti <olli-antti.kivilahti@jns.fi>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/Overdues.pm
t/db_dependent/Overdues.t