Bug 21049: Fix value of material select for Rancor 007 widget
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / includes / slip-print.inc
1 [% USE raw %]
2 <script type="text/javascript">
3 [% IF ( Koha.Preference('IntranetSlipPrinterJS') ) %]
4     [% Koha.Preference('IntranetSlipPrinterJS') | $raw %]
5 [% ELSE %]
6     $( window ).load(function() {
7         window.print();
8         setTimeout('window.close()', 1);
9     });
10 [% END %]
11 </script>