Bug 7720: add options for controlling display of an item's home and/or holdings location
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / circ / printslip.tt
1 [% USE Koha %]
2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>[% title %]</title>
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" />
6 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/print.css" />
7 [% IF stylesheet %]
8 <link rel="stylesheet" type="text/css" href="[% stylesheet %]" />
9 [% END %]
10
11 <script type="text/javascript">
12 [% IF ( Koha.Preference('IntranetSlipPrinterJS') ) %]
13     [% Koha.Preference('IntranetSlipPrinterJS') %]
14 [% ELSE %]
15      function printThenClose() {
16          window.print();
17          window.close();
18      }
19 [% END %]
20 </script>
21 </head>
22 <body id="circ_printslip" class="circ" onload="printThenClose();">
23 <div id="receipt">
24
25 [% IF plain %]
26 <pre>
27 [% slip %]
28 </pre>
29 [% ELSE %]
30 [% slip %]
31 [% END %]
32
33 [% INCLUDE 'intranet-bottom.inc' %]