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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/printreceipt.tt (-10 / +5 lines)
Lines 17-36 Link Here
17
[% INCLUDE 'blocking_errors.inc' %]
17
[% INCLUDE 'blocking_errors.inc' %]
18
</head>
18
</head>
19
19
20
<body id="pat_printfeercpt" class="pat">
20
[% PROCESS 'notice_format_translations.inc' %]
21
21
22
<body id="pat_printfeercpt" class="pat">
22
<div id="receipt">
23
<div id="receipt">
23
  [% IF slip %]
24
    [% IF ( slip ) %]
24
    [% IF plain %]
25
        [% PROCESS 'slip_content.inc' notice=slip %]
25
    <pre>
26
      [% slip | html %]
27
    </pre>
28
    [% ELSE %]
26
    [% ELSE %]
29
      [% slip | $raw %]
27
        No print template found
30
    [% END %]
28
    [% END %]
31
  [% ELSE %]
32
    <span>No print template found</span>
33
  [% END %]
34
</div>
29
</div>
35
30
36
[% MACRO jsinclude BLOCK %]
31
[% MACRO jsinclude BLOCK %]
(-)a/pos/printreceipt.pl (-3 / +1 lines)
Lines 68-75 my $letter = C4::Letters::GetPreparedLetter( Link Here
68
);
68
);
69
69
70
$template->param(
70
$template->param(
71
    slip  => $letter->{content},
71
    slip  => $letter,
72
    plain => !$letter->{is_html}
73
);
72
);
74
73
75
output_html_with_http_headers $input, $cookie, $template->output;
74
output_html_with_http_headers $input, $cookie, $template->output;
76
- 

Return to bug 33478