+[% USE Koha %]
[% INCLUDE 'doc-head-open.inc' %]
<title>[% title %]</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
[% END %]
<script type="text/javascript">
-[% IF ( IntranetSlipPrinterJS ) %]
- [% IntranetSlipPrinterJS %]
+[% IF ( Koha.Preference('IntranetSlipPrinterJS') ) %]
+ [% Koha.Preference('IntranetSlipPrinterJS') %]
[% ELSE %]
function printThenClose() {
window.print();