Bug 31028: (follow-up) Rename TICKET_ACKNOWLEDGE
TICKET_ACKNOWLEDGEMENT was too long for the database field size, drop the 'MENT' to ensure it fits. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Helen Oliver <HOliver@tavi-port.ac.uk> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
5216c01ba7
commit
39e49eb91d
3 changed files with 4 additions and 4 deletions
|
@ -118,7 +118,7 @@ sub store {
|
|||
# Send patron acknowledgement
|
||||
my $acknowledgement_letter = C4::Letters::GetPreparedLetter(
|
||||
module => 'catalog',
|
||||
letter_code => 'TICKET_ACKNOWLEDGEMENT',
|
||||
letter_code => 'TICKET_ACKNOWLEDGE',
|
||||
branchcode => $self->reporter->branchcode,
|
||||
tables => { tickets => $self->id }
|
||||
);
|
||||
|
|
|
@ -89,10 +89,10 @@ return {
|
|||
$dbh->do(
|
||||
q{
|
||||
INSERT IGNORE INTO letter(module,code,branchcode,name,is_html,title,content,message_transport_type)
|
||||
VALUES ( 'catalog', 'TICKET_ACKNOWLEDGEMENT', '', 'Concern acknowledgement', '1', 'Catalog concern acknowledgement', "Dear [% INCLUDE 'patron-title.inc' patron => ticket.reporter %],\r\n\r\nThankyou for your report concerning [% INCLUDE 'biblio-title.inc' biblio=ticket.biblio link = 0 %].\r\n\r\nYou reported: \r\n[% ticket.body %]\r\n\r\nThankyou", 'email' );
|
||||
VALUES ( 'catalog', 'TICKET_ACKNOWLEDGE', '', 'Concern acknowledgement', '1', 'Catalog concern acknowledgement', "Dear [% INCLUDE 'patron-title.inc' patron => ticket.reporter %],\r\n\r\nThankyou for your report concerning [% INCLUDE 'biblio-title.inc' biblio=ticket.biblio link = 0 %].\r\n\r\nYou reported: \r\n[% ticket.body %]\r\n\r\nThankyou", 'email' );
|
||||
}
|
||||
);
|
||||
say $out "Added new notice 'TICKET_ACKNOWLEDGEMENT'";
|
||||
say $out "Added new notice 'TICKET_ACKNOWLEDGE'";
|
||||
|
||||
$dbh->do(
|
||||
q{
|
||||
|
|
|
@ -44,7 +44,7 @@ tables:
|
|||
- "Your library."
|
||||
|
||||
- module: catalog
|
||||
code: TICKET_ACKNOWLEDGEMENT
|
||||
code: TICKET_ACKNOWLEDGE
|
||||
branchcode: ""
|
||||
name: "Concern acknowledgement"
|
||||
is_html: 1
|
||||
|
|
Loading…
Reference in a new issue