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 419-424 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
419
('NoticeBcc','','','Email address to bcc outgoing notices sent by email','free'),
419
('NoticeBcc','','','Email address to bcc outgoing notices sent by email','free'),
420
('NoticeCSS','',NULL,'Notices CSS url.','free'),
420
('NoticeCSS','',NULL,'Notices CSS url.','free'),
421
('NoticesLog','0',NULL,'If enabled, log changes to notice templates','YesNo'),
421
('NoticesLog','0',NULL,'If enabled, log changes to notice templates','YesNo'),
422
('NoticesManagement','0',NULL,'Enable the interface to view and print generated notices','YesNo'),
422
('NotifyBorrowerDeparture','30',NULL,'Define number of days before expiry where circulation is warned about patron account expiry','Integer'),
423
('NotifyBorrowerDeparture','30',NULL,'Define number of days before expiry where circulation is warned about patron account expiry','Integer'),
423
('NotifyPasswordChange','1',NULL,'Notify patrons whenever their password is changed.','YesNo'),
424
('NotifyPasswordChange','1',NULL,'Notify patrons whenever their password is changed.','YesNo'),
424
('NovelistSelectEnabled','0',NULL,'Enable Novelist Select content.  Requires Novelist Profile and Password','YesNo'),
425
('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 251-256 Patrons: Link Here
251
               never: never
251
               never: never
252
               preferences: according to patron messaging preferences
252
               preferences: according to patron messaging preferences
253
               cron: (Deprecated) according to --send-notices cron switch
253
               cron: (Deprecated) according to --send-notices cron switch
254
     -
255
        - pref: NoticesManagement
256
          choices:
257
              1: Enable
258
              0: Disable
259
        - the interface to view and print generated notices.
254
    Patron forms:
260
    Patron forms:
255
     -
261
     -
256
         - "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:"
262
         - "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:"
257
- 

Return to bug 33260