Bug 18762: Remove warnings from xt/author/valid-templates.t
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / includes / slip-print.inc
1 <script type="text/javascript">
2 [% IF ( Koha.Preference('IntranetSlipPrinterJS') ) %]
3     [% Koha.Preference('IntranetSlipPrinterJS') %]
4 [% ELSE %]
5     $( window ).load(function() {
6         window.print();
7         setTimeout('window.close()', 1);
8     });
9 [% END %]
10 </script>