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

(-)a/installer/data/mysql/atomicupdate/bug_33260_-_add_NoticesManagement_syspref.pl (+16 lines)
Line 0 Link Here
1
use Modern::Perl;
2
3
return {
4
    bug_number  => "33260",
5
    description => "Show message queue on staff interface and make notices printable",
6
    up          => sub {
7
        my ($args) = @_;
8
        my ( $dbh, $out ) = @$args{qw(dbh out)};
9
10
        $dbh->do(
11
            q{INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES ('NoticesManagement', '0', NULL, 'Enable the interface to view and print generated notices', 'YesNo') }
12
        );
13
14
        say $out "Added system preference 'NoticesManagement'";
15
    },
16
};
(-)a/installer/data/mysql/mandatory/sysprefs.sql (+1 lines)
Lines 432-437 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
432
('NoticeBcc','','','Email address to bcc outgoing notices sent by email','free'),
432
('NoticeBcc','','','Email address to bcc outgoing notices sent by email','free'),
433
('NoticeCSS','',NULL,'Notices CSS url.','free'),
433
('NoticeCSS','',NULL,'Notices CSS url.','free'),
434
('NoticesLog','0',NULL,'If enabled, log changes to notice templates','YesNo'),
434
('NoticesLog','0',NULL,'If enabled, log changes to notice templates','YesNo'),
435
('NoticesManagement','0',NULL,'Enable the interface to view and print generated notices','YesNo'),
435
('NotifyBorrowerDeparture','30',NULL,'Define number of days before expiry where circulation is warned about patron account expiry','Integer'),
436
('NotifyBorrowerDeparture','30',NULL,'Define number of days before expiry where circulation is warned about patron account expiry','Integer'),
436
('NotifyPasswordChange','1',NULL,'Notify patrons whenever their password is changed.','YesNo'),
437
('NotifyPasswordChange','1',NULL,'Notify patrons whenever their password is changed.','YesNo'),
437
('NovelistSelectEnabled','0',NULL,'Enable Novelist Select content.  Requires Novelist Profile and Password','YesNo'),
438
('NovelistSelectEnabled','0',NULL,'Enable Novelist Select content.  Requires Novelist Profile and Password','YesNo'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref (-1 / +6 lines)
Lines 270-275 Patrons: Link Here
270
               never: never
270
               never: never
271
               preferences: according to patron messaging preferences
271
               preferences: according to patron messaging preferences
272
               cron: (Deprecated) according to --send-notices cron switch
272
               cron: (Deprecated) according to --send-notices cron switch
273
     -
274
        - pref: NoticesManagement
275
          choices:
276
              1: Enable
277
              0: Disable
278
        - the interface to view and print generated notices.
273
    Patron forms:
279
    Patron forms:
274
     -
280
     -
275
         - "The following <a href='http://schema.koha-community.org/__VERSION__/tables/borrowers.html' target='blank'>database columns</a> must be filled in on the patron entry screen:"
281
         - "The following <a href='http://schema.koha-community.org/__VERSION__/tables/borrowers.html' target='blank'>database columns</a> must be filled in on the patron entry screen:"
276
- 

Return to bug 33260