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 435-440 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
435
('NotHighlightedWords','and|or|not',NULL,'List of words to NOT highlight when OpacHitHighlight is enabled','free'),
435
('NotHighlightedWords','and|or|not',NULL,'List of words to NOT highlight when OpacHitHighlight is enabled','free'),
436
('NoticeBcc','','','Email address to bcc outgoing notices sent by email','free'),
436
('NoticeBcc','','','Email address to bcc outgoing notices sent by email','free'),
437
('NoticesLog','0',NULL,'If enabled, log changes to notice templates','YesNo'),
437
('NoticesLog','0',NULL,'If enabled, log changes to notice templates','YesNo'),
438
('NoticesManagement','0',NULL,'Enable the interface to view and print generated notices','YesNo'),
438
('NotifyBorrowerDeparture','30',NULL,'Define number of days before expiry where circulation is warned about patron account expiry','Integer'),
439
('NotifyBorrowerDeparture','30',NULL,'Define number of days before expiry where circulation is warned about patron account expiry','Integer'),
439
('NotifyPasswordChange','1',NULL,'Notify patrons whenever their password is changed.','YesNo'),
440
('NotifyPasswordChange','1',NULL,'Notify patrons whenever their password is changed.','YesNo'),
440
('NovelistSelectEnabled','0',NULL,'Enable Novelist Select content.  Requires Novelist Profile and Password','YesNo'),
441
('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 (-2 / +7 lines)
Lines 272-277 Patrons: Link Here
272
               never: never
272
               never: never
273
               preferences: according to patron messaging preferences
273
               preferences: according to patron messaging preferences
274
               cron: (Deprecated) according to --send-notices cron switch
274
               cron: (Deprecated) according to --send-notices cron switch
275
     -
276
        - pref: NoticesManagement
277
          choices:
278
              1: Enable
279
              0: Disable
280
        - the interface to view and print generated notices.
275
    Patron forms:
281
    Patron forms:
276
     -
282
     -
277
         - "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:"
283
         - "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:"
Lines 523-526 Patrons: Link Here
523
             homebranch: "Home library"
529
             homebranch: "Home library"
524
             location: "Location"
530
             location: "Location"
525
             itemcallnumber: "Item's callnumber"
531
             itemcallnumber: "Item's callnumber"
526
             ccode: "Collection"
532
             ccode: "Collection"
527
- 

Return to bug 33260