Lines 9-15
return {
Link Here
|
9 |
|
9 |
|
10 |
$dbh->do( |
10 |
$dbh->do( |
11 |
q{ |
11 |
q{ |
12 |
INSERT IGNORE INTO `letter` VALUES (NULL,'reserves','HOLDDGST','','Hold available for pickup (digest)',0,'Hold(s) available for pickup','You have one or more holds available for pickup:\r\n\r\n----\r\nTitle: [% hold.biblio.title %]\r\nAuthor: [% hold.biblio.author %]\r\nCopy: [% hold.item.copynumber %]\r\nLocation: [% hold.branch.branchname %]\r\nWaiting since: [% hold.waitingdate %]\r\nWaiting at: [%hold.branch.branchname%]\r\n[% hold.branch.branchaddress1 %]\r\n[% hold.branch.branchaddress2 %]\r\n[% hold.branch.branchaddress3 %]\r\n[% hold.branch.branchcity %] [% hold.branch.branchzip %]\r\n----','email','default','2023-08-29 18:42:15'); |
12 |
INSERT IGNORE INTO `letter` (`module`, `code`, `branchcode`, `name`, `is_html`, `title`, `content`, `message_transport_type`, `lang`) |
|
|
13 |
VALUES ('reserves','HOLDDGST','','Hold available for pickup (digest)',0,'Hold(s) available for pickup','You have one or more holds available for pickup:\r\n\r\n----\r\nTitle: [% hold.biblio.title %]\r\nAuthor: [% hold.biblio.author %]\r\nCopy: [% hold.item.copynumber %]\r\nLocation: [% hold.branch.branchname %]\r\nWaiting since: [% hold.waitingdate %]\r\nWaiting at: [%hold.branch.branchname%]\r\n[% hold.branch.branchaddress1 %]\r\n[% hold.branch.branchaddress2 %]\r\n[% hold.branch.branchaddress3 %]\r\n[% hold.branch.branchcity %] [% hold.branch.branchzip %]\r\n----','email','default'); |
13 |
} |
14 |
} |
14 |
); |
15 |
); |
15 |
|
16 |
|
Lines 17-23
return {
Link Here
|
17 |
|
18 |
|
18 |
$dbh->do( |
19 |
$dbh->do( |
19 |
q{ |
20 |
q{ |
20 |
INSERT IGNORE INTO `letter` VALUES (NULL,'reserves','HOLDDGST','','Hold available for pickup (digest)',0,'Hold(s) available for pickup','You have one or more holds available for pickup:\r\n----\r\n[% hold.biblio.title %]\r\n----','sms','default','2023-08-29 18:42:15'); |
21 |
INSERT IGNORE INTO `letter` (`module`, `code`, `branchcode`, `name`, `is_html`, `title`, `content`, `message_transport_type`, `lang`) |
|
|
22 |
VALUES ('reserves','HOLDDGST','','Hold available for pickup (digest)',0,'Hold(s) available for pickup','You have one or more holds available for pickup:\r\n----\r\n[% hold.biblio.title %]\r\n----','sms','default'); |
21 |
} |
23 |
} |
22 |
); |
24 |
); |
23 |
|
25 |
|
Lines 25-31
return {
Link Here
|
25 |
|
27 |
|
26 |
$dbh->do( |
28 |
$dbh->do( |
27 |
q{ |
29 |
q{ |
28 |
INSERT IGNORE INTO message_transports VALUES |
30 |
INSERT IGNORE INTO message_transports |
|
|
31 |
(`message_attribute_id`, `message_transport_type`, `is_digest`, `letter_module`, `letter_code`, `branchcode`) |
32 |
VALUES |
29 |
( 4, "email", 1, "reserves", "HOLDDGST", "" ), |
33 |
( 4, "email", 1, "reserves", "HOLDDGST", "" ), |
30 |
( 4, "sms", 1, "reserves", "HOLDDGST", "" ), |
34 |
( 4, "sms", 1, "reserves", "HOLDDGST", "" ), |
31 |
( 4, "phone", 1, "reserves", "HOLDDGST", ""); |
35 |
( 4, "phone", 1, "reserves", "HOLDDGST", ""); |
32 |
- |
|
|