Lines 48-55
return {
Link Here
|
48 |
$dbh->do( |
48 |
$dbh->do( |
49 |
q{ |
49 |
q{ |
50 |
INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES |
50 |
INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES |
51 |
('OpacCatalogConcerns', '0', NULL, 'Allow logged in OPAC users to report catalog concerns', 'YesNo') |
51 |
('OpacCatalogConcerns', '0', NULL, 'Allow logged in OPAC users to report catalog concerns', 'YesNo') |
52 |
} |
52 |
} |
53 |
); |
53 |
); |
54 |
say $out "`OpacCatalogConcerns` preference added"; |
54 |
say $out "`OpacCatalogConcerns` preference added"; |
55 |
|
55 |
|
Lines 89-95
return {
Link Here
|
89 |
$dbh->do( |
89 |
$dbh->do( |
90 |
q{ |
90 |
q{ |
91 |
INSERT IGNORE INTO letter(module,code,branchcode,name,is_html,title,content,message_transport_type) |
91 |
INSERT IGNORE INTO letter(module,code,branchcode,name,is_html,title,content,message_transport_type) |
92 |
VALUES ( 'catalogue', 'TICKET_ACKNOWLEDGE', '', 'Concern acknowledgement', '1', 'Catalog concern acknowledgement', "Dear [%- INCLUDE 'patron-title.inc' patron => ticket.reporter -%],<br><br>Thankyou for your report concerning [%- INCLUDE 'biblio-title.inc' biblio=ticket.biblio link = 0 -%].<br><br>You reported: <br>[%- ticket.body -%]<br><br>Thankyou", 'email' ); |
92 |
VALUES ( 'catalogue', 'TICKET_ACKNOWLEDGE', '', 'Concern acknowledgement', '1', 'Catalog concern acknowledgement', "Dear [%- INCLUDE 'patron-title.inc' patron => ticket.reporter -%],<br><br>Thank you for your report concerning [%- INCLUDE 'biblio-title.inc' biblio=ticket.biblio link = 0 -%].<br><br>You reported: <br>[%- ticket.body -%]<br><br>Thank you", 'email' ); |
93 |
} |
93 |
} |
94 |
); |
94 |
); |
95 |
say $out "Added new notice 'TICKET_ACKNOWLEDGE'"; |
95 |
say $out "Added new notice 'TICKET_ACKNOWLEDGE'"; |
Lines 97-103
return {
Link Here
|
97 |
$dbh->do( |
97 |
$dbh->do( |
98 |
q{ |
98 |
q{ |
99 |
INSERT IGNORE INTO letter(module,code,branchcode,name,is_html,title,content,message_transport_type) |
99 |
INSERT IGNORE INTO letter(module,code,branchcode,name,is_html,title,content,message_transport_type) |
100 |
VALUES ( 'catalogue', 'TICKET_UPDATE', '', 'Concern updated', '1', 'Catalog concern updated', "Dear [%- INCLUDE 'patron-title.inc' patron => ticket_update.ticket.reporter -%],<br><br>The library has added an update to the concern you reported against [%- INCLUDE 'biblio-title.inc' biblio=ticket_update.ticket.biblio link = 0 -%].<br><br>The following comment was left: <br>[%- ticket_update.message -%]<br><br>Thankyou", 'email' ); |
100 |
VALUES ( 'catalogue', 'TICKET_UPDATE', '', 'Concern updated', '1', 'Catalog concern updated', "Dear [%- INCLUDE 'patron-title.inc' patron => ticket_update.ticket.reporter -%],<br><br>The library has added an update to the concern you reported against [%- INCLUDE 'biblio-title.inc' biblio=ticket_update.ticket.biblio link = 0 -%].<br><br>The following comment was left: <br>[%- ticket_update.message -%]<br><br>Thank you", 'email' ); |
101 |
} |
101 |
} |
102 |
); |
102 |
); |
103 |
say $out "Added new notice 'TICKET_UPDATE'"; |
103 |
say $out "Added new notice 'TICKET_UPDATE'"; |
Lines 105-111
return {
Link Here
|
105 |
$dbh->do( |
105 |
$dbh->do( |
106 |
q{ |
106 |
q{ |
107 |
INSERT IGNORE INTO letter(module,code,branchcode,name,is_html,title,content,message_transport_type) |
107 |
INSERT IGNORE INTO letter(module,code,branchcode,name,is_html,title,content,message_transport_type) |
108 |
VALUES ( 'catalogue', 'TICKET_RESOLVE', '', 'Concern resolved', '1', 'Catalog concern resolved', "Dear [%- INCLUDE 'patron-title.inc' patron => ticket_update.ticket.reporter -%],<br><br>The library has now marked your concern with [%- INCLUDE 'biblio-title.inc' biblio=ticket_update.ticket.biblio link = 0 -%]as resolved.<br><br>The following comment was left: <br>[%- ticket_update.message -%]<br><br>Thankyou", 'email' ); |
108 |
VALUES ( 'catalogue', 'TICKET_RESOLVE', '', 'Concern resolved', '1', 'Catalog concern resolved', "Dear [%- INCLUDE 'patron-title.inc' patron => ticket_update.ticket.reporter -%],<br><br>The library has now marked your concern with [%- INCLUDE 'biblio-title.inc' biblio=ticket_update.ticket.biblio link = 0 -%]as resolved.<br><br>The following comment was left: <br>[%- ticket_update.message -%]<br><br>Thank you", 'email' ); |
109 |
} |
109 |
} |
110 |
); |
110 |
); |
111 |
say $out "Added new notice 'TICKET_RESOLVE'"; |
111 |
say $out "Added new notice 'TICKET_RESOLVE'"; |
Lines 113-120
return {
Link Here
|
113 |
$dbh->do( |
113 |
$dbh->do( |
114 |
q{ |
114 |
q{ |
115 |
INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES |
115 |
INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES |
116 |
('CatalogerEmails', '', '', 'Notify these catalogers by email when a catalog concern is submitted', 'free') |
116 |
('CatalogerEmails', '', '', 'Notify these catalogers by email when a catalog concern is submitted', 'free') |
117 |
} |
117 |
} |
118 |
); |
118 |
); |
119 |
say $out "`CatalogerEmails` preference added"; |
119 |
say $out "`CatalogerEmails` preference added"; |
120 |
|
120 |
|
Lines 129-136
return {
Link Here
|
129 |
$dbh->do( |
129 |
$dbh->do( |
130 |
q{ |
130 |
q{ |
131 |
INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES |
131 |
INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES |
132 |
('CatalogConcerns', '0', NULL, 'Allow users to report catalog concerns', 'YesNo') |
132 |
('CatalogConcerns', '0', NULL, 'Allow users to report catalog concerns', 'YesNo') |
133 |
} |
133 |
} |
134 |
); |
134 |
); |
135 |
say $out "`CatalogConcerns` preference added"; |
135 |
say $out "`CatalogConcerns` preference added"; |
136 |
} |
136 |
} |