Bug 32491: Split patron search terms on comma
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / includes / slip-print.inc
1 [% USE raw %]
2 <!-- slip-print.inc -->
3 <script>
4 [% IF ( Koha.Preference('IntranetSlipPrinterJS') ) %]
5     [% Koha.Preference('IntranetSlipPrinterJS') | $raw %]
6 [% ELSE %]
7     $( window ).load(function() {
8         window.print();
9         window.onafterprint = function () {
10             window.close();
11         }
12         setTimeout('window.close()', 1000); //Hack from Chrome < 63
13     });
14 [% END %]
15 </script>
16 <!-- / slip-print.inc -->