Koha-clms/misc/cronjobs
Jonathan Druart 03c9871ada Bug 15967: Use the email template if the print template does not exist
From commit 581759e985
 Bug 14133: Print notices should be generated with the print
 template

"""
IMPORTANT NOTE: This test plan does not take into account the notices
generated for the staff ("These messages were not sent directly to the
patrons."). However the behavior will also change, the print template
will be used in all cases. Is it what we want?
"""

Yes, it is what we want. But if the print template does not exist, the
notice is not generated, we'd like to get the email template instead.

Test plan:
- Remove the print template for the letter you use for overdues
- Define an overdue rule to send an email
- Remove the email address for the patron which has overdues
- Execute the overdue_notices script
The staff should get an email notice and a print notice (using the
email template) should be generated for the patron

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
(cherry picked from commit ea4a2436e2)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
2016-04-06 15:01:49 +02:00
..
holds Bug 13889: Add information about cron jobs to system log 2015-05-04 11:11:14 -03:00
rss Bug 14383: misc: Fix some typos in comments and documentation 2015-06-22 17:34:45 -03:00
social_data Bug 15193 - Perl scripts missing exec permission 2015-12-14 08:31:27 +01:00
thirdparty Bug 14960: Remove C4::Dates from files in misc/cronjobs 2015-11-17 15:36:43 -03:00
CONFIGURE.gmail Bug 5251 : Enhancement: [3.2] (Resubmission) Adding code to support using gmail as an SMTP server 2011-04-08 14:01:15 +12:00
MARC21_parse_test.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
advance_notices.pl Bug 14624 - <<items.content>> for advance_notices.pl wrongly documented 2016-01-29 15:18:42 +01:00
automatic_renewals.pl Bug 13889: Add information about cron jobs to system log 2015-05-04 11:11:14 -03:00
backup.sh Bug 9235 - Hardcoded values in cronjobs/backup.sh 2012-12-21 07:20:50 -05:00
batch_anonymise.pl Bug 14960: Remove C4::Dates from files in misc/cronjobs 2015-11-17 15:36:43 -03:00
build_browser_and_cloud.pl Bug 13889: Add information about cron jobs to system log 2015-05-04 11:11:14 -03:00
cart_to_shelf.pl Bug 13889: Add information about cron jobs to system log 2015-05-04 11:11:14 -03:00
check-url-quick.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
check-url.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
cleanup_database.pl Bug 14960: Remove C4::Dates from files in misc/cronjobs 2015-11-17 15:36:43 -03:00
cloud-kw.pl Bug 14383: misc: Fix some typos in comments and documentation 2015-06-22 17:34:45 -03:00
cloud-sample.conf
…
create_koc_db.pl Bug 9978: (followup) Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:43 -03:00
crontab.example Bug 14840: Added new cron script send membership expiry reminder notices in crontab.example file 2015-10-06 11:21:18 -03:00
delete_expired_opac_registrations.pl Bug 13049: [QA Follow-up] Remove unneeded module 2015-07-28 10:24:02 -03:00
delete_patrons.pl Bug 14544: Get rid of GetSomeShelfNames 2015-11-05 09:58:02 -03:00
delete_unverified_opac_registrations.pl Bug 13049: [QA Follow-up] Remove unneeded module 2015-07-28 10:24:02 -03:00
fines.pl Bug 14383: misc: Fix some typos in comments and documentation 2015-06-22 17:34:45 -03:00
gather_print_notices.pl Bug 14960: Remove C4::Dates from files in misc/cronjobs 2015-11-17 15:36:43 -03:00
import_webservice_batch.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
j2a.pl Bug 15742 [QA Followup] - Tidy script 2016-02-26 15:33:53 +01:00
longoverdue.pl Bug 13889: Add information about cron jobs to system log 2015-05-04 11:11:14 -03:00
membership_expiry.pl Bug 6810: [QA Follow-up] Exit cronjob if pref not set 2015-10-06 11:13:58 -03:00
nl-sync-from-koha.pl Bug 15193 - Perl scripts missing exec permission 2015-12-14 08:31:27 +01:00
nl-sync-to-koha.pl Bug 15193 - Perl scripts missing exec permission 2015-12-14 08:31:27 +01:00
notice_unprocessed_suggestions.pl Bug 13014: [QA Follow-up] Few typos in cronjob 2015-06-24 11:49:13 -03:00
overdue_notices.pl Bug 15967: Use the email template if the print template does not exist 2016-04-06 15:01:49 +02:00
printoverdues.sh Bug 10127 : Printoverdues.sh should tar only pdf files 2013-07-16 15:47:13 +00:00
process_message_queue.pl Bug 13889: Add information about cron jobs to system log 2015-05-04 11:11:14 -03:00
purge_suggestions.pl Bug 13889: Add information about cron jobs to system log 2015-05-04 11:11:14 -03:00
runreport.pl Bug 15133: encode correctly email generated by runreport.pl 2015-11-16 15:53:57 -03:00
serialsUpdate.pl Bug 14960: Remove C4::Dates from files in misc/cronjobs 2015-11-17 15:36:43 -03:00
services_throttle.pl
…
share_usage_with_koha_community.pl Bug 13889: Add information about cron jobs to system log 2015-05-04 11:11:14 -03:00
sitemap.pl Bug 16031: (followup) Fix documentation 2016-03-14 10:30:46 +01:00
staticfines.pl Bug 14960: Simplify the date management in staticfines 2015-11-17 15:36:51 -03:00
update_totalissues.pl Bug 13889: Add information about cron jobs to system log 2015-05-04 11:11:14 -03:00