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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/printnotice.tt (-7 / +9 lines)
Lines 20-33 Link Here
20
[% END %]
20
[% END %]
21
</head>
21
</head>
22
22
23
[% PROCESS 'notice_format_translations.inc' %]
24
23
<body id="members_printslip" class="member">
25
<body id="members_printslip" class="member">
24
    <div id="slip">
26
<div id="slip">
25
        [% IF plain %]
27
    [% IF ( slip ) %]
26
            <pre>[% IF ( slip ) %][% slip | html %][% ELSE %]No slip template found[% END %]</pre>
28
        [% PROCESS 'slip_content.inc' notice=slip %]
27
        [% ELSE %]
29
    [% ELSE %]
28
            [% IF ( slip ) %][% slip | $raw %][% ELSE %]No slip template found[% END %]
30
        No slip template found
29
        [% END %]
31
    [% END %]
30
    </div>
32
</div>
31
33
32
[% MACRO jsinclude BLOCK %]
34
[% MACRO jsinclude BLOCK %]
33
    [% INCLUDE 'slip-print.inc' #printThenClose %]
35
    [% INCLUDE 'slip-print.inc' #printThenClose %]
(-)a/members/printnotice.pl (-3 / +1 lines)
Lines 65-72 my $letter = C4::Letters::GetPreparedLetter( Link Here
65
65
66
$template->param(
66
$template->param(
67
    title  => $letter->{title},
67
    title  => $letter->{title},
68
    slip   => $letter->{content},
68
    slip   => $letter,
69
    plain  => !$letter->{is_html},
70
);
69
);
71
70
72
output_html_with_http_headers $input, $cookie, $template->output;
71
output_html_with_http_headers $input, $cookie, $template->output;
73
- 

Return to bug 33478