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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/printinvoice.tt (-10 / +5 lines)
Lines 18-37 Link Here
18
[% INCLUDE 'blocking_errors.inc' %]
18
[% INCLUDE 'blocking_errors.inc' %]
19
</head>
19
</head>
20
20
21
<body id="printinvoice" class="pat">
21
[% PROCESS 'notice_format_translations.inc' %]
22
22
23
<body id="printinvoice" class="pat">
23
<div id="receipt">
24
<div id="receipt">
24
  [% IF slip %]
25
    [% IF ( slip ) %]
25
    [% IF plain %]
26
        [% PROCESS 'slip_content.inc' notice=slip %]
26
    <pre>
27
      [% slip | html %]
28
    </pre>
29
    [% ELSE %]
27
    [% ELSE %]
30
      [% slip | $raw %]
28
        No print template found
31
    [% END %]
29
    [% END %]
32
  [% ELSE %]
33
    <span>No print template found</span>
34
  [% END %]
35
</div>
30
</div>
36
31
37
[% MACRO jsinclude BLOCK %]
32
[% MACRO jsinclude BLOCK %]
(-)a/members/printinvoice.pl (-3 / +1 lines)
Lines 80-87 $letter //= C4::Letters::GetPreparedLetter( Link Here
80
);
80
);
81
81
82
$template->param(
82
$template->param(
83
    slip   => $letter->{content},
83
    slip   => $letter,
84
    plain  => !$letter->{is_html},
85
    patron => $patron,
84
    patron => $patron,
86
);
85
);
87
86
88
- 

Return to bug 33478