Bug 30484: (QA follow-up) Fix typo 'Kind Regards'
authorKatrin Fischer <katrin.fischer.83@web.de>
Mon, 8 Aug 2022 20:46:33 +0000 (22:46 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 23 Sep 2022 12:33:28 +0000 (09:33 -0300)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
installer/data/mysql/atomicupdate/bug_30484-add-ill-update-notice.pl
installer/data/mysql/en/mandatory/sample_notices.yml

index 06583df..42e8ebf 100755 (executable)
@@ -6,8 +6,8 @@ return {
     up => sub {
         my ($args) = @_;
         my ($dbh, $out) = @$args{qw(dbh out)};
-        $dbh->do(q{INSERT IGNORE INTO letter(module, code, branchcode, name, is_html, title, content, message_transport_type, lang) VALUES ('ill', 'ILL_REQUEST_UPDATE', '', 'ILL request update', 0, "Interlibrary loan request update", "Dear [% borrower.firstname %] [% borrower.surname %],\n\nThe Interlibrary loans request number [% illrequest.illrequest_id %] you placed for\n\n- [% ill_bib_title %] - [% ill_bib_author %]\n\nhas been updated\n\nDetails of the update are below:\n\n[% additional_text %]\n\nKind Regards\n\n[% branch.branchname %]\n[% branch.branchaddress1 %]\n[% branch.branchaddress2 %]\n[% branch.branchaddress3 %]\n[% branch.branchcity %]\n[% branch.branchstate %]\n[% branch.branchzip %]\n[% branch.branchphone %]\n[% branch.branchillemail %]\n[% branch.branchemail %]", 'email', 'default');});
-        $dbh->do(q{INSERT IGNORE INTO letter(module, code, branchcode, name, is_html, title, content, message_transport_type, lang) VALUES ('ill', 'ILL_REQUEST_UPDATE', '', 'ILL request update', 0, "Interlibrary loan request update", "Dear [% borrower.firstname %] [% borrower.surname %],\n\nThe Interlibrary loans request number [% illrequest.illrequest_id %] you placed for\n\n- [% ill_bib_title %] - [% ill_bib_author %]\n\nhas been updated\n\nDetails of the update are below:\n\n[% additional_text %]\n\nKind Regards\n\n[% branch.branchname %]\n[% branch.branchaddress1 %]\n[% branch.branchaddress2 %]\n[% branch.branchaddress3 %]\n[% branch.branchcity %]\n[% branch.branchstate %]\n[% branch.branchzip %]\n[% branch.branchphone %]\n[% branch.branchillemail %]\n[% branch.branchemail %]", 'sms', 'default');});
+        $dbh->do(q{INSERT IGNORE INTO letter(module, code, branchcode, name, is_html, title, content, message_transport_type, lang) VALUES ('ill', 'ILL_REQUEST_UPDATE', '', 'ILL request update', 0, "Interlibrary loan request update", "Dear [% borrower.firstname %] [% borrower.surname %],\n\nThe Interlibrary loans request number [% illrequest.illrequest_id %] you placed for\n\n- [% ill_bib_title %] - [% ill_bib_author %]\n\nhas been updated\n\nDetails of the update are below:\n\n[% additional_text %]\n\nKind regards\n\n[% branch.branchname %]\n[% branch.branchaddress1 %]\n[% branch.branchaddress2 %]\n[% branch.branchaddress3 %]\n[% branch.branchcity %]\n[% branch.branchstate %]\n[% branch.branchzip %]\n[% branch.branchphone %]\n[% branch.branchillemail %]\n[% branch.branchemail %]", 'email', 'default');});
+        $dbh->do(q{INSERT IGNORE INTO letter(module, code, branchcode, name, is_html, title, content, message_transport_type, lang) VALUES ('ill', 'ILL_REQUEST_UPDATE', '', 'ILL request update', 0, "Interlibrary loan request update", "Dear [% borrower.firstname %] [% borrower.surname %],\n\nThe Interlibrary loans request number [% illrequest.illrequest_id %] you placed for\n\n- [% ill_bib_title %] - [% ill_bib_author %]\n\nhas been updated\n\nDetails of the update are below:\n\n[% additional_text %]\n\nKind regards\n\n[% branch.branchname %]\n[% branch.branchaddress1 %]\n[% branch.branchaddress2 %]\n[% branch.branchaddress3 %]\n[% branch.branchcity %]\n[% branch.branchstate %]\n[% branch.branchzip %]\n[% branch.branchphone %]\n[% branch.branchillemail %]\n[% branch.branchemail %]", 'sms', 'default');});
         $dbh->do(q{INSERT IGNORE INTO message_attributes (message_name, takes_days) VALUES ('Ill_update', 0);});
         my $ready_id = $dbh->last_insert_id(undef, undef, 'message_attributes', undef);
         if (defined $ready_id) {
index fed8713..a6dcdea 100644 (file)
@@ -739,7 +739,7 @@ tables:
             - ""
             - "is ready for pick up from [% branch.branchname %]."
             - ""
-            - "Kind Regards"
+            - "Kind regards"
             - ""
             - "[% branch.branchname %]"
             - "[% branch.branchaddress1 %]"
@@ -769,7 +769,7 @@ tables:
             - ""
             - "is unfortunately unavailable."
             - ""
-            - "Kind Regards"
+            - "Kind regards"
             - ""
             - "[% branch.branchname %]"
             - "[% branch.branchaddress1 %]"
@@ -825,7 +825,7 @@ tables:
             - ""
             - "Please let us know if you are able to supply this to us."
             - ""
-            - "Kind Regards"
+            - "Kind regards"
             - ""
             - "[% branch.branchname %]"
             - "[% branch.branchaddress1 %]"
@@ -859,7 +859,7 @@ tables:
             - ""
             - "[% additional_text %]"
             - ""
-            - "Kind Regards"
+            - "Kind regards"
             - ""
             - "[% branch.branchname %]"
             - "[% branch.branchaddress1 %]"
@@ -889,7 +889,7 @@ tables:
             - ""
             - "is ready for pick up from [% branch.branchname %]."
             - ""
-            - "Kind Regards"
+            - "Kind regards"
             - ""
             - "[% branch.branchname %]"
             - "[% branch.branchaddress1 %]"
@@ -919,7 +919,7 @@ tables:
             - ""
             - "is unfortunately unavailable."
             - ""
-            - "Kind Regards"
+            - "Kind regards"
             - ""
             - "[% branch.branchname %]"
             - "[% branch.branchaddress1 %]"
@@ -975,7 +975,7 @@ tables:
             - ""
             - "Please let us know if you are able to supply this to us."
             - ""
-            - "Kind Regards"
+            - "Kind regards"
             - ""
             - "[% branch.branchname %]"
             - "[% branch.branchaddress1 %]"
@@ -1009,7 +1009,7 @@ tables:
             - ""
             - "[% additional_text %]"
             - ""
-            - "Kind Regards"
+            - "Kind regards"
             - ""
             - "[% branch.branchname %]"
             - "[% branch.branchaddress1 %]"