Bug 14675: Don't update details if no changes made
[koha.git] / koha-tmpl / opac-tmpl / bootstrap / en / modules / sco / printslip.tt
1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>[% 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" />
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" />
6 [% IF stylesheet %]
7 <link rel="stylesheet" type="text/css" href="[% stylesheet %]" />
8 [% END %]
9 <script type="text/javascript">
10     function printThenClose() {
11         window.print();
12         setTimeout('window.close()', 1);
13     }
14 </script>
15 </head>
16
17 <body id="circ_printslip" class="circ" onload="printThenClose();">
18     <div id="receipt">
19         [% IF plain %]
20             <pre>
21                 [% slip %]
22             </pre>
23         [% ELSE %]
24             [% slip %]
25         [% END %]
26
27     </div>
28
29 </body>
30 </html>