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
[% INCLUDE 'slip-print.inc' #printThenClose %]
11
[% INCLUDE 'slip-print.inc' #printThenClose %]
Lines 15-24 Link Here
15
15
16
[% IF plain %]
16
[% IF plain %]
17
<pre>
17
<pre>
18
[% slip %]
18
[% IF ( slip ) %][% slip %][% ELSE %]No hold found[% END %]
19
</pre>
19
</pre>
20
[% ELSE %]
20
[% ELSE %]
21
[% slip %]
21
[% IF ( slip ) %][% slip %][% ELSE %]No hold found[% END %]
22
[% END %]
22
[% END %]
23
23
24
[% INCLUDE 'intranet-bottom.inc' %]
24
[% INCLUDE 'intranet-bottom.inc' %]
25
- 

Return to bug 12062