|
Lines 9-15
return {
Link Here
|
| 9 |
my ( $dbh, $out ) = @$args{qw(dbh out)}; |
9 |
my ( $dbh, $out ) = @$args{qw(dbh out)}; |
| 10 |
|
10 |
|
| 11 |
$dbh->do( |
11 |
$dbh->do( |
| 12 |
q{ INSERT IGNORE INTO message_attributes (message_attribute_id, message_name, takes_days) VALUES (14, 'Recall_Cancelled', 0) } |
12 |
q{ INSERT IGNORE INTO message_attributes (message_attribute_id, message_name, takes_days) VALUES (14, 'Recall_Canceled', 0) } |
| 13 |
); |
13 |
); |
| 14 |
|
14 |
|
| 15 |
say_success( $out, "Added RECALL_MANUAL_CANCEL to message_attributes" ); |
15 |
say_success( $out, "Added RECALL_MANUAL_CANCEL to message_attributes" ); |
|
Lines 20-34
return {
Link Here
|
| 20 |
say_success( $out, "Added RECALL_MANUAL_CANCEL to message_transports" ); |
20 |
say_success( $out, "Added RECALL_MANUAL_CANCEL to message_transports" ); |
| 21 |
|
21 |
|
| 22 |
$dbh->do( |
22 |
$dbh->do( |
| 23 |
q{ INSERT IGNORE INTO `letter` (`module`, `code`, `branchcode`, `name`, `is_html`, `title`, `content`, `message_transport_type`) VALUES ('circulation','RECALL_MANUAL_CANCEL','','Recall has been cancelled','0','Recall has been cancelled','Dear [% borrower.firstname %] [% borrower.surname %], |
23 |
q{ INSERT IGNORE INTO `letter` (`module`, `code`, `branchcode`, `name`, `is_html`, `title`, `content`, `message_transport_type`) VALUES ('circulation','RECALL_MANUAL_CANCEL','','Recall has been canceled','0','Recall has been canceled','Dear [% borrower.firstname %] [% borrower.surname %], |
| 24 |
|
24 |
|
| 25 |
We regret to inform you that the item you have recalled cannot be provided. Your recall was cancelled. |
25 |
We regret to inform you that the item you have recalled cannot be provided. Your recall was canceled. |
| 26 |
|
26 |
|
| 27 |
Title: [% biblio.title %] |
27 |
Title: [% biblio.title %] |
| 28 |
Author: [% biblio.author %] |
28 |
Author: [% biblio.author %] |
| 29 |
Location: [% branch.branchname %]','sms'), ('circulation','RECALL_MANUAL_CANCEL','','Recall has been cancelled','0','Recall has been cancelled','Dear [% borrower.firstname %] [% borrower.surname %], |
29 |
Location: [% branch.branchname %]','sms'), ('circulation','RECALL_MANUAL_CANCEL','','Recall has been canceled','0','Recall has been canceled','Dear [% borrower.firstname %] [% borrower.surname %], |
| 30 |
|
30 |
|
| 31 |
We regret to inform you that the item you have recalled cannot be provided. Your recall was cancelled. |
31 |
We regret to inform you that the item you have recalled cannot be provided. Your recall was canceled. |
| 32 |
|
32 |
|
| 33 |
Title: [% biblio.title %] |
33 |
Title: [% biblio.title %] |
| 34 |
Author: [% biblio.author %] |
34 |
Author: [% biblio.author %] |