Merge remote-tracking branch 'origin/new/bug_8251'
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / circ / printslip.tt
1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>[% title %]</title>
3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4 <link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% themelang %]/includes/favicon.ico[% END %]" type="image/x-icon" />
5 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/print.css" />
6 [% IF stylesheet %]
7 <link rel="stylesheet" type="text/css" href="[% stylesheet %]" />
8 [% END %]
9
10 <script language="javascript">
11 [% IF ( IntranetSlipPrinterJS ) %]
12     [% IntranetSlipPrinterJS %]
13 [% ELSE %]
14      function printThenClose() {
15          window.print();
16          window.close();
17      }
18 [% END %]
19 </script>
20 </head>
21 <body id="circ_printslip" class="circ" onload="printThenClose();">
22 <div id="receipt">
23
24 [% IF plain %]
25 <pre>
26 [% slip %]
27 </pre>
28 [% ELSE %]
29 [% slip %]
30 [% END %]
31
32 [% INCLUDE 'intranet-bottom.inc' %]