@@ -, +, @@ configuration options --- installer/data/mysql/atomicupdate/bug_31157.pl | 2 +- installer/data/mysql/mandatory/sysprefs.sql | 2 +- .../prog/en/modules/admin/preferences/circulation.pref | 6 +++--- misc/cronjobs/overdue_notices.pl | 10 ++++++---- 4 files changed, 11 insertions(+), 9 deletions(-) --- a/installer/data/mysql/atomicupdate/bug_31157.pl +++ a/installer/data/mysql/atomicupdate/bug_31157.pl @@ -9,7 +9,7 @@ return { $dbh->do(q{ INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES - ('OverdueNoticeFrom', 'cron', 'cron|item-issuebranch|item-homebranch', 'Use the choice as the from address when generating overdue notices', 'Choice') + ('OverdueNoticeFrom', 'cron', 'cron|item-issuebranch|item-homebranch', 'Organize and send overdue notices by item home library or checkout library', 'Choice') }); }, }; --- a/installer/data/mysql/mandatory/sysprefs.sql +++ a/installer/data/mysql/mandatory/sysprefs.sql @@ -521,7 +521,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` ('OverDrivePasswordRequired','0',NULL,'Does the library require passwords for OverDrive SIP authentication','YesNo'), ('OverDriveUsername','cardnumber','cardnumber|userid','Which patron information should be passed as OverDrive username','Choice'), ('OverdueNoticeCalendar',0,NULL,'Take the calendar into consideration when generating overdue notices','YesNo'), -('OverdueNoticeFrom', 'cron', 'cron|item-issuebranch|item-homebranch', 'Use the choice as the from address when generating overdue notices', 'Choice'), +('OverdueNoticeFrom', 'cron', 'cron|item-issuebranch|item-homebranch', 'Organize and send overdue notices by item home library or checkout library', 'Choice'), ('OverduesBlockCirc','noblock','noblock|confirmation|block','When checking out an item should overdues block checkout, generate a confirmation dialogue, or allow checkout','Choice'), ('OverduesBlockRenewing','allow','allow|blockitem|block','If any of patron checked out documents is late, should renewal be allowed, blocked only on overdue items or blocked on whatever checked out document','Choice'), ('PassItemMarcToXSLT','0',NULL,'If enabled, item fields in the MARC record will be made avaiable to XSLT sheets. Otherwise they will be removed.','YesNo'), --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref @@ -408,13 +408,13 @@ Circulation: 0: "Ignore calendar" - "when working out the period for overdue notices." - - - "Use the" + - "Organize and send overdue notices using the" - pref: OverdueNoticeFrom choices: - cron: "system default" + cron: "command-line option" item-issuebranch: "checkout library" item-homebranch: "item home library" - - "as the from address when generating overdue notices." + - . - - Include up to - pref: PrintNoticesMaxLines --- a/misc/cronjobs/overdue_notices.pl +++ a/misc/cronjobs/overdue_notices.pl @@ -69,7 +69,9 @@ overdue_notices.pl --date Emulate overdues run for this date. --email Type of email that will be used. Can be 'email', 'emailpro' or 'B_email'. Repeatable. - --frombranch Set the from address for the notice to one of 'item-homebranch' or 'item-issuebranch'. + --frombranch Organize and send overdue notices by home library (item-homebranch) or checkout library (item-issuebranch). + This option is only used, if the OverdueNoticeFrom system preference is set to 'command-line option'. + Defaults to item-issuebranch. =head1 OPTIONS @@ -180,9 +182,9 @@ Allows to specify which type of email will be used. Can be email, emailpro or B_ =item B<--frombranch> -Use the address information from the item homebranch library instead of the issuing library. - -Defaults to 'item-issuebranch' +Organize overdue notices either by checkout library (item-issuebranch) or item home library (item-homebranch). +This option is only used, if the OverdueNoticeFrom system preference is set to use 'command-line option'. +Defaults to checkout library (item-issuebranch). =back --