View | Details | Raw Unified | Return to bug 24197
Collapse All | Expand All

(-)a/installer/data/mysql/atomicupdate/bug_24197-new_RedirectAddressForFailedOverdueNotices_syspref.sql (+1 lines)
Line 0 Link Here
1
INSERT INGORE INTO systempreferences (variable, value, options, explanation, type) VALUES ('RedirectAddressForFailedOverdueNotices', '', NULL, 'Destination email for failed overdue notices. If left empty then the branch email or KohaAdminEmailAddress syspref will be the email address that failed overdue notices are sent to', 'free');
(-)a/installer/data/mysql/sysprefs.sql (+1 lines)
Lines 496-501 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
496
('RecallsLog','1',NULL,'If ON, log create/cancel/expire/fulfill actions on recalls','YesNo'),
496
('RecallsLog','1',NULL,'If ON, log create/cancel/expire/fulfill actions on recalls','YesNo'),
497
('RecallsMaxPickUpDelay','7','','Define the maximum time a recall can be waiting for pickup','Integer'),
497
('RecallsMaxPickUpDelay','7','','Define the maximum time a recall can be waiting for pickup','Integer'),
498
('RecordLocalUseOnReturn','0',NULL,'If ON, statistically record returns of unissued items as local use, instead of return','YesNo'),
498
('RecordLocalUseOnReturn','0',NULL,'If ON, statistically record returns of unissued items as local use, instead of return','YesNo'),
499
('RedirectAddressForFailedOverdueNotices', '', NULL, 'Destination email for failed overdue notices. If left empty then the branch email or KohaAdminEmailAddress syspref will be the email address that failed overdue notices are sent to', 'free'),
499
('RefundLostOnReturnControl','CheckinLibrary','CheckinLibrary|ItemHomeBranch|ItemHoldingBranch','If a lost item is returned, choose which branch to pick rules for refunding.','Choice'),
500
('RefundLostOnReturnControl','CheckinLibrary','CheckinLibrary|ItemHomeBranch|ItemHoldingBranch','If a lost item is returned, choose which branch to pick rules for refunding.','Choice'),
500
('RenewalLog','0','','If ON, log information about renewals','YesNo'),
501
('RenewalLog','0','','If ON, log information about renewals','YesNo'),
501
('RenewalPeriodBase','date_due','date_due|now','Set whether the renewal date should be counted from the date_due or from the moment the Patron asks for renewal ','Choice'),
502
('RenewalPeriodBase','date_due','date_due|now','Set whether the renewal date should be counted from the date_due or from the moment the Patron asks for renewal ','Choice'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref (+5 lines)
Lines 21-26 Administration: Link Here
21
              class: email
21
              class: email
22
            - "(Leave this field empty to send messages to their normal recipient)"
22
            - "(Leave this field empty to send messages to their normal recipient)"
23
        -
23
        -
24
            - "Email address failed overdue notices are sent to: "
25
            - pref: RedirectAddressForFailedOverdueNotices
26
              class: email
27
            - "If left empty then the branch email or KohaAdminEmailAddress will be set as the destination address for failed overdue notices"
28
        -
24
            - "How much debugging information to show in the browser when an internal error occurs: "
29
            - "How much debugging information to show in the browser when an internal error occurs: "
25
            - pref: DebugLevel
30
            - pref: DebugLevel
26
              default: 0
31
              default: 0
(-)a/misc/cronjobs/overdue_notices.pl (-2 / +1 lines)
Lines 824-830 END_SQL Link Here
824
                borrowernumber         => undef,
824
                borrowernumber         => undef,
825
                message_transport_type => 'email',
825
                message_transport_type => 'email',
826
                attachments            => [$attachment],
826
                attachments            => [$attachment],
827
                to_address             => $admin_email_address,
827
                to_address             => C4::Context->preference('RedirectAddressForFailedOverdueNotices'),
828
            }
828
            }
829
        ) unless $test_mode;
829
        ) unless $test_mode;
830
    }
830
    }
831
- 

Return to bug 24197