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

(-)a/installer/data/mysql/atomicupdate/bug_28374.pl (+15 lines)
Line 0 Link Here
1
use Modern::Perl;
2
3
return {
4
    bug_number => "28374",
5
    description => "Update point of sale print receipt",
6
    up => sub {
7
        my ($args) = @_;
8
        my ($dbh, $out) = @$args{qw(dbh out)};
9
10
        $dbh->do(q{
11
            UPDATE letter SET content = CONCAT('[% USE KohaDates %][% USE Branches %][% USE Price %]', content), is_html = 1 WHERE code = 'RECEIPT';
12
        });
13
        say $out "Added KohaDates, Branches and Price plugins";
14
    },
15
}
(-)a/installer/data/mysql/en/mandatory/sample_notices.yml (-2 / +4 lines)
Lines 1113-1123 tables: Link Here
1113
          code: RECEIPT
1113
          code: RECEIPT
1114
          branchcode: ""
1114
          branchcode: ""
1115
          name: "Point of sale receipt"
1115
          name: "Point of sale receipt"
1116
          is_html: 0
1116
          is_html: 1
1117
          title: "Receipt"
1117
          title: "Receipt"
1118
          message_transport_type: print
1118
          message_transport_type: print
1119
          lang: default
1119
          lang: default
1120
          content:
1120
          content:
1121
            - "[% USE KohaDates %]"
1122
            - "[% USE Branches %]"
1123
            - "[% USE Price %]"
1121
            - "[% PROCESS \"accounts.inc\" %]"
1124
            - "[% PROCESS \"accounts.inc\" %]"
1122
            - "<table>"
1125
            - "<table>"
1123
            - "[% IF ( LibraryName ) %]"
1126
            - "[% IF ( LibraryName ) %]"
1124
- 

Return to bug 28374