Koha-clms/misc
Nick Clemens 527347a5c3
Bug 41393: Set the correct reply to address for advance notices
This patch additionally fetches the reply to address for advance notices

To test:
1 - Have some issues that will be due soon for a patron(s)
    Checkout with the due date set to tomorrow
2 - Verify the patron(s) have an email defined, verify the issuing branch has a reply to set
3 - Verify the patron(s) have messaging preference set to receive Advance notices by email 1 day in advance
4 - perl misc/cronjobs/advance_notices.pl -v -c
5 - Check the message queue
    SELECT * FROM message_queue WHERE borrowernumber={##}
6 - Note no rpely to is set
7 - Apply patch
8 - perl misc/cronjobs/advance_notices.pl -v -c
9 - Check the message queue
10 - Confirm newer message has the reply to populated
11 - Ensure the issued item has a different homebranch with a reply to address se
12 - perl misc/cronjobs/advance_notices.pl -v -c --frombranch item-homebranch
13 - Confirm message has correct reply to
14 - Set patron to want digest in messaging preferences
15 - Generate notices
16 - Confirm digets has the right reply to

Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tidied inline
Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com>
2026-05-23 15:58:49 -04:00
..
admin Bug 40163: (follow-up) Fix wrong GNU links and update test 2026-01-07 14:32:37 +00:00
bin Bug 40163: (follow-up) Fix wrong GNU links and update test 2026-01-07 14:32:37 +00:00
cronjobs Bug 41393: Set the correct reply to address for advance notices 2026-05-23 15:58:49 -04:00
devel Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
interface_customization
…
maintenance Bug 40163: (follow-up) Fix wrong GNU links and update test 2026-01-07 14:32:37 +00:00
migration_tools Bug 41076: [25.05.x] Adjust perl tidiness 2026-02-24 08:35:34 -07:00
release_notes Update release notes for 25.05.10 release 2026-04-28 15:57:11 -06:00
search_tools Bug 40722: Add a log when resetting mappings during elastic rebuild 2026-02-17 16:24:04 +00:00
translator Bug 41076: [25.05.x] Adjust perl tidiness 2026-02-24 08:35:34 -07:00
workers Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
add_date_fields_to_marc_records.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
add_statistics_borrowers_categorycode.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
batchCompareMARCvsFrameworks.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
batchDeleteUnusedSubfields.pl Bug 39325: Automatic fix 2025-04-28 18:51:22 +02:00
batchImportMARCWithBiblionumbers.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
batchRebuildBiblioTables.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
batchRebuildItemsTables.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
batchRepairMissingBiblionumbers.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
batchdeletebiblios.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
check_sysprefs.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
commit_file.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
export_borrowers.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
export_records.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
import_patrons.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
koha-install-log
…
link_bibs_to_authorities.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
load_yaml.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
mod_zebraqueue.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
process_ill_updates.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
recreateIssueStatistics.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
sax_parser_print.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
sax_parser_test.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
sip_cli_emulator.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
stage_file.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
z3950_responder.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00