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

(-)a/circ/hold-transfer-slip.pl (+1 lines)
Lines 58-63 if ( my $letter = ReserveSlip ($session->param('branch') || $userenv->{branch}, Link Here
58
    $is_html = $letter->{is_html};
58
    $is_html = $letter->{is_html};
59
}
59
}
60
$template->param( slip => $slip ) if ($slip);
60
$template->param( slip => $slip ) if ($slip);
61
$template->param( caller => 'hold-transfer' );
61
$template->param( plain => !$is_html );
62
$template->param( plain => !$is_html );
62
63
63
output_html_with_http_headers $input, $cookie, $template->output;
64
output_html_with_http_headers $input, $cookie, $template->output;
(-)a/circ/transfer-slip.pl (-1 / +1 lines)
Lines 64-70 else { Link Here
64
$template->param(
64
$template->param(
65
    slip => $slip,
65
    slip => $slip,
66
    plain => !$is_html,
66
    plain => !$is_html,
67
    title => "Koha -- Circulation: Transfers",
67
    caller => 'transfers',
68
    stylesheet => C4::Context->preference("SlipCSS"),
68
    stylesheet => C4::Context->preference("SlipCSS"),
69
);
69
);
70
70
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/printslip.tt (-1 / +8 lines)
Lines 1-6 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Circulation &rsaquo; Transfers</title>
3
[% IF ( caller = 'hold-transfer' %]
4
<title>Koha &rsaquo; Circulation &rsaquo; Hold transfer print receipt</title>
5
[% ELSIF ( caller == 'transfer' %]
6
<title>Koha &rsaquo; Circulation &rsaquo; Transfers print receipt</title>
7
[% ELSIF ( caller == 'members' %]
8
<title>Koha &rsaquo; Members &rsaquo; Print receipt for [%- borrowernumber -%]</title>
9
[% END %]
10
4
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
11
<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" />
12
<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" />
13
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/print.css" />
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/printslip.tt (-2 / +3 lines)
Lines 1-5 Link Here
1
[% INCLUDE 'doc-head-open.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
[% title %]</title>
2
[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha [% END %] &rsaquo; Self checkout &rsaquo; Print Receipt for [%- borrowernumber -%]</title>
3
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
3
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4
<link rel="shortcut icon" href="[% IF ( OpacFavicon  ) %][% OpacFavicon  %][% ELSE %][% interface %]/[% theme %]/images/favicon.ico[% END %]" type="image/x-icon" />
4
<link rel="shortcut icon" href="[% IF ( OpacFavicon  ) %][% OpacFavicon  %][% ELSE %][% interface %]/[% theme %]/images/favicon.ico[% END %]" type="image/x-icon" />
5
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/print.css" />
5
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/print.css" />
Lines 27-30 Link Here
27
    }
27
    }
28
</script>
28
</script>
29
</body>
29
</body>
30
</html>
30
</html>
31
(-)a/members/printslip.pl (-1 / +2 lines)
Lines 84-90 if (my $letter = IssueSlip ($session->param('branch') || $branch, $borrowernumbe Link Here
84
$template->param(
84
$template->param(
85
    slip => $slip,
85
    slip => $slip,
86
    plain => !$is_html,
86
    plain => !$is_html,
87
    title => "Print Receipt for $borrowernumber",
87
    borrowernumber => $borrowernumber,
88
    caller => 'members',
88
    stylesheet => C4::Context->preference("SlipCSS"),
89
    stylesheet => C4::Context->preference("SlipCSS"),
89
    error           => $error,
90
    error           => $error,
90
);
91
);
(-)a/opac/sco/printslip.pl (-2 / +1 lines)
Lines 61-67 if (my $letter = IssueSlip ($session->param('branch') || $branch, $borrowernumbe Link Here
61
61
62
$template->{VARS}->{slip} = $slip;
62
$template->{VARS}->{slip} = $slip;
63
$template->{VARS}->{plain} = !$is_html;
63
$template->{VARS}->{plain} = !$is_html;
64
$template->{VARS}->{title} = "Print Receipt for $borrowernumber";
64
$template->{VARS}->{borrowernumber} = $borrowernumber;
65
$template->{VARS}->{stylesheet} = C4::Context->preference("SlipCSS");
65
$template->{VARS}->{stylesheet} = C4::Context->preference("SlipCSS");
66
$template->{VARS}->{error} = $error;
66
$template->{VARS}->{error} = $error;
67
67
68
- 

Return to bug 12062