Bug 12150 - Use more javascript string formatting in intranet for translated strings.
[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     function printThenClose() {
6         window.print();
7         setTimeout('window.close()', 1);
8     }
9 [% END %]
10 </script>