Koha/misc/cronjobs
Jonathan Druart 836f3ce992 Bug 8258: Use patron's library's notice for DUEDGST and PREDUEDGST
If a notice is defined for the library of the patron, it should be
used.

Without this patch, the notice used is the one defined for all
libraries.

Test plan:
1/ Set the advanced notice for a patron using digest.
2/ Check one item out to this patron (backdate the return date according
the days in advance value).
3/ launch advance_notices.pl -c
4/ Verify the notice used is the default one.
5/ Define a notice for the library of the patron for PREDUEDGST
6/ launch advance_notices.pl -c
7/ Verify the notice used is the one previously defined.
8/ Check one item out to this patron (date due = today)
9/ launch advance_notices.pl -c
10/ Verify the notice used is the default one.
11/ Define a notice for the library of the patron for DUEDGST
12/ launch advance_notices.pl -c
13/ Verify the notice used is the one previously defined.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes all tests  and QA script.
Test case: User from Library A, checked out books
- in library A from A and B
- in library B from B
Verified, that the 'all libraries' notice is still used,
when no specific notice is defined.
Verified, that the patron's home library noticed is used,
when defined.

Note: Before and after the patch we print the branch information
from the patron's home library, so also using the template from
this branch, seems logical. All items over all branches are
processed into one single reminder email, before and after the patch.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2014-04-20 15:23:42 +00:00
..
holds bug_5911: Transport Cost Matrix 2012-09-12 14:49:25 +02:00
rss
social_data Bug 10156 - Fix usr/bin/perl path for get_report_social_data.pl 2013-05-08 09:52:21 -04:00
thirdparty Bug 8606 - Talking Tech broken by Bug 7001 2012-09-20 14:12:41 +02:00
advance_notices.pl Bug 8258: Use patron's library's notice for DUEDGST and PREDUEDGST 2014-04-20 15:23:42 +00:00
backup.sh Bug 9235 - Hardcoded values in cronjobs/backup.sh 2012-12-21 07:20:50 -05:00
batch_anonymise.pl Bug 6506: When AnonymousPatron not set, deletion of issue history silently failed. 2013-05-01 08:44:11 -04:00
build_browser_and_cloud.pl
cart_to_shelf.pl 7368 Typo in cart_to_shelf 2012-03-16 11:50:29 +01:00
check-url-quick.pl Bug 11185: fix bug preventing check-url-quick.pl from working 2013-11-15 15:30:20 +00:00
check-url.pl Bug 7963 Parallel HTTP requests when checking URLs 2012-10-05 11:44:52 +02:00
cleanup_database.pl Bug 11484: (follow-up) standardize capitalization of "Z39.50" 2014-04-17 15:31:33 +00:00
cloud-kw.pl
cloud-sample.conf
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
create_koc_db.pl
crontab.example Bug 11138 - Add auto_unsuspend_reserves to crontab.example 2014-01-17 21:13:56 +00:00
delete_expired_opac_registrations.pl Bug 7067: Followup FIX QA fails 2012-12-14 08:09:00 -05:00
delete_patrons.pl bug 10419: (follow-up) improvements to the usage text 2013-10-03 22:13:40 +00:00
delete_unverified_opac_registrations.pl Bug 7067: Followup FIX QA fails 2012-12-14 08:09:00 -05:00
fines.pl Bug 9671: Make fines.pl help text more accurate 2013-04-26 18:35:40 -04:00
gather_print_notices.pl Bug 11188 - Make gather_print_notices.pl die on failed open() 2013-12-30 15:12:48 +00:00
import_webservice_batch.pl Bug 7475: Teach matching rules to handle authorities 2012-09-19 17:15:56 +02:00
j2a.pl Bug 10611: Use mysql_auto_reconnect instead of ping 2014-03-10 23:15:35 +00:00
longoverdue.pl Bug 7639: add option to forgive overdue fines when declaring items lost 2013-09-17 15:10:46 +00:00
MARC21_parse_test.pl Bug 6752: Be stricter with utf-8 encoding of output 2012-01-27 12:11:06 +01:00
overdue_notices.pl Bug 11598: (follow-up) improve help text for --html and --text options 2014-04-11 16:21:14 +00: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 5251 : Enhancement: [3.2] (Resubmission) Adding code to support using gmail as an SMTP server 2011-04-08 14:01:15 +12:00
purge_suggestions.pl
runreport.pl Bug 12040: Add 3 parameters to runreport.pl for SMTP authentication 2014-04-11 16:11:52 +00:00
serialsUpdate.pl Bug 12003: Do not calculate next pubdate for irregular subscriptions 2014-04-18 20:57:51 +00:00
services_throttle.pl
staticfines.pl Bug 8420: tool statisticfines.pl and hourly loan 2012-09-14 16:19:25 +02:00
update_totalissues.pl Bug 6557: Record bib popularity in totalissues 2012-06-29 14:29:22 +02:00