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