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 16-29 Link Here
16
[% END %]
16
[% END %]
17
</head>
17
</head>
18
18
19
[% PROCESS 'notice_format_translations.inc' %]
20
19
<body id="members_printslip" class="member">
21
<body id="members_printslip" class="member">
20
    <div id="slip">
22
<div id="slip">
21
        [% IF plain %]
23
    [% IF ( slip ) %]
22
            <pre>[% IF ( slip ) %][% slip | html %][% ELSE %]No slip template found[% END %]</pre>
24
        [% PROCESS 'slip_content.inc' notice=slip %]
23
        [% ELSE %]
25
    [% ELSE %]
24
            [% IF ( slip ) %][% slip | $raw %][% ELSE %]No slip template found[% END %]
26
        No slip template found
25
        [% END %]
27
    [% END %]
26
    </div>
28
</div>
27
29
28
[% MACRO jsinclude BLOCK %]
30
[% MACRO jsinclude BLOCK %]
29
    [% INCLUDE 'slip-print.inc' #printThenClose %]
31
    [% 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