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

(-)a/circ/hold-transfer-slip.pl (-12 / +2 lines)
Lines 57-74 if ( my $letter = ReserveSlip ($session->param('branch') || $userenv->{branch}, Link Here
57
    $slip = $letter->{content};
57
    $slip = $letter->{content};
58
    $is_html = $letter->{is_html};
58
    $is_html = $letter->{is_html};
59
}
59
}
60
else {
60
$template->param( slip => $slip ) if ($slip);
61
    $slip = "Reserve not found";
61
$template->param( plain => !$is_html );
62
}
63
$template->param(
64
    slip => $slip,
65
    plain => !$is_html,
66
    title => "Koha -- Circulation: Transfers",
67
    stylesheet => C4::Context->preference("SlipCSS"),
68
);
69
62
70
output_html_with_http_headers $input, $cookie, $template->output;
63
output_html_with_http_headers $input, $cookie, $template->output;
71
64
72
73
74
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/printslip.tt (-6 / +5 lines)
Lines 1-11 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
<title>[% title %]</title>
3
<title>Koha &rsaquo; Circulation &rsaquo; Transfers</title>
4
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% interface %]/[% theme %]/img/favicon.ico[% END %]" type="image/x-icon" />
5
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% interface %]/[% theme %]/img/favicon.ico[% END %]" type="image/x-icon" />
6
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/print.css" />
6
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/print.css" />
7
[% IF stylesheet %]
7
[% IF ( Koha.Preference('SlipCSS') ) %]
8
<link rel="stylesheet" type="text/css" href="[% stylesheet %]" />
8
<link rel="stylesheet" type="text/css" href="[% Koha.Preference('SlipCSS') %]" />
9
[% END %]
9
[% END %]
10
10
11
<script type="text/javascript">
11
<script type="text/javascript">
Lines 24-33 Link Here
24
24
25
[% IF plain %]
25
[% IF plain %]
26
<pre>
26
<pre>
27
[% slip %]
27
[% IF ( slip ) %][% slip %][% ELSE %]No hold found[% END %]
28
</pre>
28
</pre>
29
[% ELSE %]
29
[% ELSE %]
30
[% slip %]
30
[% IF ( slip ) %][% slip %][% ELSE %]No hold found[% END %]
31
[% END %]
31
[% END %]
32
32
33
[% INCLUDE 'intranet-bottom.inc' %]
33
[% INCLUDE 'intranet-bottom.inc' %]
34
- 

Return to bug 12062