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

(-)a/installer/data/mysql/atomicupdate/bug_31627.pl (-14 lines)
Lines 1-14 Link Here
1
use Modern::Perl;
2
3
return {
4
    bug_number => "31627",
5
    description => "Add syspref SendLetterIdInEmailNotices",
6
    up => sub {
7
        my ($args) = @_;
8
        my ($dbh, $out) = @$args{qw(dbh out)};
9
        $dbh->do(q{
10
            INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
11
            ('SendLetterIdInEmailNotices','0',NULL,'Add template id to bottom of emailed notices','YesNo')
12
        });
13
    },
14
};
(-)a/installer/data/mysql/mandatory/sysprefs.sql (-1 lines)
Lines 699-705 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
699
('SelfCheckReceiptPrompt','1','NULL','If ON, print receipt dialog pops up when self checkout is finished','YesNo'),
699
('SelfCheckReceiptPrompt','1','NULL','If ON, print receipt dialog pops up when self checkout is finished','YesNo'),
700
('SelfCheckTimeout','120','','Define the number of seconds before the Web-based Self Checkout times out a patron','Integer'),
700
('SelfCheckTimeout','120','','Define the number of seconds before the Web-based Self Checkout times out a patron','Integer'),
701
('SendAllEmailsTo','',NULL,'All emails will be redirected to this email if it is not empty','free'),
701
('SendAllEmailsTo','',NULL,'All emails will be redirected to this email if it is not empty','free'),
702
('SendLetterIdInEmailNotices','0',NULL,'Add template id to bottom of emailed notices','YesNo'),
703
('SeparateHoldings','0',NULL,'Separate current branch holdings from other holdings','YesNo'),
702
('SeparateHoldings','0',NULL,'Separate current branch holdings from other holdings','YesNo'),
704
('SeparateHoldingsBranch','homebranch','homebranch|holdingbranch','Branch used to separate holdings','Choice'),
703
('SeparateHoldingsBranch','homebranch','homebranch|holdingbranch','Branch used to separate holdings','Choice'),
705
('SerialsDefaultEmailAddress', '', NULL, 'Default email address used as reply-to for notices sent by the serials module.', 'Free'),
704
('SerialsDefaultEmailAddress', '', NULL, 'Default email address used as reply-to for notices sent by the serials module.', 'Free'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref (-7 lines)
Lines 184-195 Patrons: Link Here
184
               1: Notify
184
               1: Notify
185
               0: "Don't notify"
185
               0: "Don't notify"
186
         - patrons whenever their password is changed.
186
         - patrons whenever their password is changed.
187
     -
188
         - pref: SendLetterIdInEmailNotices
189
           choices:
190
               1: Add
191
               0: "Don't add"
192
         - the template id for a notice to the bottom of any emailed notices.
193
     -
187
     -
194
         - pref: UseEmailReceipts
188
         - pref: UseEmailReceipts
195
           choices:
189
           choices:
196
- 

Return to bug 31627