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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/printfeercpt.tt (-10 / +19 lines)
Lines 14-33 Link Here
14
[% INCLUDE 'blocking_errors.inc' %]
14
[% INCLUDE 'blocking_errors.inc' %]
15
</head>
15
</head>
16
16
17
<body id="pat_printfeercpt" class="pat">
17
[% PROCESS 'notice_format_translations.inc' %]
18
18
19
<body id="pat_printfeercpt" class="pat">
19
<div id="receipt">
20
<div id="receipt">
20
  [% IF slip %]
21
    [% IF ( slip ) %]
21
    [% IF plain %]
22
        <div class="slip" style="
22
    <pre>
23
            text-align:[% PROCESS translate_justification_types type=slip.text_justify | trim %];
23
      [% slip | html %]
24
            font-size:[% slip.font_size %]px;
24
    </pre>
25
            width:[% slip.notice_width %][% PROCESS translate_unit_types type=slip.units | trim %];
26
            margin-top:[% slip.top_margin %][% PROCESS translate_unit_types type=slip.units | trim %];
27
            margin-left:[% slip.left_margin %][% PROCESS translate_unit_types type=slip.units | trim %];
28
        ">
29
            [% IF slip.is_html %]
30
                [% slip.content | $raw %]
31
            [% ELSE %]
32
            <pre>
33
                [% slip.content | html %]
34
            </pre>
35
            [% END %]
36
        </div>
25
    [% ELSE %]
37
    [% ELSE %]
26
      [% slip | $raw %]
38
        No print template found
27
    [% END %]
39
    [% END %]
28
  [% ELSE %]
29
    <span>No print template found</span>
30
  [% END %]
31
</div>
40
</div>
32
41
33
[% MACRO jsinclude BLOCK %]
42
[% MACRO jsinclude BLOCK %]
(-)a/members/printfeercpt.pl (-3 / +1 lines)
Lines 88-95 $letter //= C4::Letters::GetPreparedLetter( Link Here
88
);
88
);
89
89
90
$template->param(
90
$template->param(
91
    slip   => $letter->{content},
91
    slip   => $letter,
92
    plain  => !$letter->{is_html},
93
    patron => $patron,
92
    patron => $patron,
94
);
93
);
95
94
96
- 

Return to bug 33478