Bug 18789: Send Koha::Patron object to the templates
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / circ / printslip.tt
index 9bf6707..315f835 100644 (file)
@@ -6,20 +6,20 @@
 <title>Koha &rsaquo; Circulation &rsaquo; Transfers print receipt</title>
 [% ELSIF ( caller == 'members' ) %]
 <title>Koha &rsaquo; Patrons &rsaquo; Print receipt for [% borrowernumber %]</title>
-[% ELSIF ( title ) %]
+[% ELSIF ( title ) %][%# FIXME title is never defined %]
 <title>Koha &rsaquo; Patrons &rsaquo; [% title %]</title>
 [% END %]
-
+[% INCLUDE 'doc-head-close.inc' %]
 <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" />
+<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/print_[% KOHA_VERSION %].css" />
 [% IF ( Koha.Preference('SlipCSS') ) %]
 <link rel="stylesheet" type="text/css" href="[% Koha.Preference('SlipCSS') %]" />
 [% END %]
 
 [% INCLUDE 'slip-print.inc' #printThenClose %]
 </head>
-<body id="circ_printslip" class="circ" onload="printThenClose();">
+<body id="circ_printslip" class="circ">
 <div id="receipt">
 
 [% IF plain %]