View | Details | Raw Unified | Return to bug 31028
Collapse All | Expand All

(-)a/Koha/Ticket.pm (-1 / +1 lines)
Lines 118-124 sub store { Link Here
118
        # Send patron acknowledgement
118
        # Send patron acknowledgement
119
        my $acknowledgement_letter = C4::Letters::GetPreparedLetter(
119
        my $acknowledgement_letter = C4::Letters::GetPreparedLetter(
120
            module      => 'catalog',
120
            module      => 'catalog',
121
            letter_code => 'TICKET_ACKNOWLEDGEMENT',
121
            letter_code => 'TICKET_ACKNOWLEDGE',
122
            branchcode  => $self->reporter->branchcode,
122
            branchcode  => $self->reporter->branchcode,
123
            tables      => { tickets => $self->id }
123
            tables      => { tickets => $self->id }
124
        );
124
        );
(-)a/installer/data/mysql/atomicupdate/bug_31028.pl (-2 / +2 lines)
Lines 89-98 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 ( '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' );
92
                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' );
93
            }
93
            }
94
        );
94
        );
95
        say $out "Added new notice 'TICKET_ACKNOWLEDGEMENT'";
95
        say $out "Added new notice 'TICKET_ACKNOWLEDGE'";
96
96
97
        $dbh->do(
97
        $dbh->do(
98
            q{
98
            q{
(-)a/installer/data/mysql/en/mandatory/sample_notices.yml (-2 / +1 lines)
Lines 44-50 tables: Link Here
44
            - "Your library."
44
            - "Your library."
45
45
46
        - module: catalog
46
        - module: catalog
47
          code: TICKET_ACKNOWLEDGEMENT
47
          code: TICKET_ACKNOWLEDGE
48
          branchcode: ""
48
          branchcode: ""
49
          name: "Concern acknowledgement"
49
          name: "Concern acknowledgement"
50
          is_html: 1
50
          is_html: 1
51
- 

Return to bug 31028