$is_html = $letter->{is_html};
}
$template->param( slip => $slip ) if ($slip);
+$template->param( caller => 'hold-transfer' );
$template->param( plain => !$is_html );
output_html_with_http_headers $input, $cookie, $template->output;
$template->param(
slip => $slip,
plain => !$is_html,
- title => "Koha -- Circulation: Transfers",
+ caller => 'transfer',
stylesheet => C4::Context->preference("SlipCSS"),
);
[% USE Koha %]
[% INCLUDE 'doc-head-open.inc' %]
-<title>Koha › Circulation › Transfers</title>
+[% IF ( caller = 'hold-transfer' %]
+<title>Koha › Circulation › Hold transfer print receipt</title>
+[% ELSIF ( caller == 'transfer' %]
+<title>Koha › Circulation › Transfers print receipt</title>
+[% ELSIF ( caller == 'members' %]
+<title>Koha › Members › Print receipt for [% borrowernumber %]</title>
+[% END %]
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% interface %]/[% theme %]/img/favicon.ico[% END %]" type="image/x-icon" />
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/print.css" />
[% INCLUDE 'doc-head-open.inc' %]
-[% title %]</title>
+[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha [% END %] › Self checkout › Print Receipt for [% borrowernumber %]</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="[% IF ( OpacFavicon ) %][% OpacFavicon %][% ELSE %][% interface %]/[% theme %]/images/favicon.ico[% END %]" type="image/x-icon" />
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/print.css" />
}
</script>
</body>
-</html>
\ No newline at end of file
+</html>
$template->param(
slip => $slip,
plain => !$is_html,
- title => "Print Receipt for $borrowernumber",
+ borrowernumber => $borrowernumber,
+ caller => 'members',
stylesheet => C4::Context->preference("SlipCSS"),
error => $error,
);
$template->{VARS}->{slip} = $slip;
$template->{VARS}->{plain} = !$is_html;
-$template->{VARS}->{title} = "Print Receipt for $borrowernumber";
+$template->{VARS}->{borrowernumber} = $borrowernumber;
$template->{VARS}->{stylesheet} = C4::Context->preference("SlipCSS");
$template->{VARS}->{error} = $error;