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

(-)a/installer/data/mysql/db_revs/221200010.pl (-3 / +3 lines)
Lines 89-95 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 ( 'catalogue', 'TICKET_ACKNOWLEDGE', '', 'Concern acknowledgement', '1', 'Catalog concern acknowledgement', "[%- PROCESS 'html_helpers.inc' -%]Dear [%- INCLUDE 'patron-title.inc' patron => ticket.reporter -%],<br><br>Thankyou for your report concerning [%- INCLUDE 'biblio-title.inc' biblio=ticket.biblio link = 0 -%].<br><br>You reported: <br>[%- ticket.body -%]<br><br>Thankyou", 'email' );
92
                VALUES ( 'catalogue', 'TICKET_ACKNOWLEDGE', '', 'Concern acknowledgement', '1', 'Catalog concern acknowledgement', "[%- PROCESS 'html_helpers.inc' -%]Dear [%- INCLUDE 'patron-title.inc' patron => ticket.reporter -%],<br><br>Thankyou for your report concerning [%- INCLUDE 'biblio-title.inc' biblio=ticket.biblio link = 0 -%].<br><br>You reported: <br>[%- ticket.body -%]<br><br>Thank you", 'email' );
93
            }
93
            }
94
        );
94
        );
95
        say $out "Added new notice 'TICKET_ACKNOWLEDGE'";
95
        say $out "Added new notice 'TICKET_ACKNOWLEDGE'";
Lines 97-103 return { Link Here
97
        $dbh->do(
97
        $dbh->do(
98
            q{
98
            q{
99
                INSERT IGNORE INTO letter(module,code,branchcode,name,is_html,title,content,message_transport_type)
99
                INSERT IGNORE INTO letter(module,code,branchcode,name,is_html,title,content,message_transport_type)
100
                VALUES ( 'catalogue', 'TICKET_UPDATE', '', 'Concern updated', '1', 'Catalog concern updated', "[%- PROCESS 'html_helpers.inc' -%]Dear [%- INCLUDE 'patron-title.inc' patron => ticket_update.ticket.reporter -%],<br><br>The library has added an update to the concern you reported against [%- INCLUDE 'biblio-title.inc' biblio=ticket_update.ticket.biblio link = 0 -%].<br><br>The following comment was left: <br>[%- ticket_update.message -%]<br><br>Thankyou", 'email' );
100
                VALUES ( 'catalogue', 'TICKET_UPDATE', '', 'Concern updated', '1', 'Catalog concern updated', "[%- PROCESS 'html_helpers.inc' -%]Dear [%- INCLUDE 'patron-title.inc' patron => ticket_update.ticket.reporter -%],<br><br>The library has added an update to the concern you reported against [%- INCLUDE 'biblio-title.inc' biblio=ticket_update.ticket.biblio link = 0 -%].<br><br>The following comment was left: <br>[%- ticket_update.message -%]<br><br>Thank you", 'email' );
101
            }
101
            }
102
        );
102
        );
103
        say $out "Added new notice 'TICKET_UPDATE'";
103
        say $out "Added new notice 'TICKET_UPDATE'";
Lines 121-127 return { Link Here
121
        $dbh->do(
121
        $dbh->do(
122
            q{
122
            q{
123
                INSERT IGNORE INTO letter(module,code,branchcode,name,is_html,title,content,message_transport_type)
123
                INSERT IGNORE INTO letter(module,code,branchcode,name,is_html,title,content,message_transport_type)
124
                VALUES ( 'catalogue', 'TICKET_NOTIFY', '', 'Catalog concern notification', '1', 'Catalog concern reported', "[%- USE Koha -%][%- PROCESS 'html_helpers.inc' -%]\r\nDear cataloger,<br><br>[%- INCLUDE 'patron-title.inc' patron => ticket.reporter -%]reported the following concern with [%- INCLUDE 'biblio-title.inc' biblio=ticket.biblio link = 1 -%]<br><br>[%- ticket.body -%]<br><br>You can mark this concern as resolved from the concern management <a href='[%- Koha.Preference('IntranetBaseURL') -%]/cgi-bin/koha/cataloguing/concerns.pl'>page</a>.", 'email' );
124
                VALUES ( 'catalogue', 'TICKET_NOTIFY', '', 'Catalog concern notification', '1', 'Catalog concern reported', "[%- USE Koha -%][%- PROCESS 'html_helpers.inc' -%]\r\nDear cataloger,<br><br>[%- INCLUDE 'patron-title.inc' patron => ticket.reporter -%]reported the following concern with [%- INCLUDE 'biblio-title.inc' biblio=ticket.biblio link = 1 -%]<br><br>[%- ticket.body -%]<br><br>You can mark this concern as resolved from the concern management <a href='[%- Koha.Preference('staffClientBaseURL') -%]/cgi-bin/koha/cataloguing/concerns.pl'>page</a>.", 'email' );
125
            }
125
            }
126
        );
126
        );
127
        say $out "Added new notice 'TICKET_NOTIFY'";
127
        say $out "Added new notice 'TICKET_NOTIFY'";
(-)a/installer/data/mysql/en/mandatory/sample_notices.yml (-6 / +5 lines)
Lines 55-66 tables: Link Here
55
            - "[%- PROCESS 'html_helpers.inc' -%]"
55
            - "[%- PROCESS 'html_helpers.inc' -%]"
56
            - "Dear [%- INCLUDE 'patron-title.inc' patron => ticket.reporter -%],<br>"
56
            - "Dear [%- INCLUDE 'patron-title.inc' patron => ticket.reporter -%],<br>"
57
            - "<br>"
57
            - "<br>"
58
            - "Thankyou for your report concerning [%- INCLUDE 'biblio-title.inc' biblio=ticket.biblio link = 0 -%].<br>"
58
            - "Thank you for your report concerning [%- INCLUDE 'biblio-title.inc' biblio=ticket.biblio link = 0 -%].<br>"
59
            - "<br>"
59
            - "<br>"
60
            - "You reported: <br>"
60
            - "You reported: <br>"
61
            - "[%- ticket.body -%]<br>"
61
            - "[%- ticket.body -%]<br>"
62
            - "<br>"
62
            - "<br>"
63
            - "Thankyou"
63
            - "Thank you"
64
64
65
        - module: catalogue
65
        - module: catalogue
66
          code: TICKET_RESOLVE
66
          code: TICKET_RESOLVE
Lines 79-85 tables: Link Here
79
            - "The following comment was left: <br>"
79
            - "The following comment was left: <br>"
80
            - "[%- ticket_update.message -%]<br>"
80
            - "[%- ticket_update.message -%]<br>"
81
            - "<br>"
81
            - "<br>"
82
            - "Thankyou"
82
            - "Thank you"
83
83
84
        - module: catalogue
84
        - module: catalogue
85
          code: TICKET_UPDATE
85
          code: TICKET_UPDATE
Lines 98-104 tables: Link Here
98
            - "The following comment was left: <br>"
98
            - "The following comment was left: <br>"
99
            - "[%- ticket_update.message -%]<br>"
99
            - "[%- ticket_update.message -%]<br>"
100
            - "<br>"
100
            - "<br>"
101
            - "Thankyou"
101
            - "Thank you"
102
102
103
        - module: catalogue
103
        - module: catalogue
104
          code: TICKET_NOTIFY
104
          code: TICKET_NOTIFY
Lines 116-122 tables: Link Here
116
            - "<br>"
116
            - "<br>"
117
            - "[%- ticket.body -%]<br>"
117
            - "[%- ticket.body -%]<br>"
118
            - "<br>"
118
            - "<br>"
119
            - "You can mark this concern as resolved from the concern management <a href='[%- Koha.Preference('IntranetBaseURL') -%]/cgi-bin/koha/cataloguing/concerns.pl'>page</a>."
119
            - "You can mark this concern as resolved from the concern management <a href='[%- Koha.Preference('staffClientBaseURL') -%]/cgi-bin/koha/cataloguing/concerns.pl'>page</a>."
120
120
121
        - module: circulation
121
        - module: circulation
122
          code: ACCOUNT_CREDIT
122
          code: ACCOUNT_CREDIT
123
- 

Return to bug 33313