To test:
Enable SCO
Load a patron
Hit finish, print slip
Note slip shows as raw html
Apply patch
Repeat, get a correctly formatted slip
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
https://bugs.koha-community.org/show_bug.cgi?id=22068
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
<link rel="shortcut icon" href="[% IF ( OpacFavicon ) %][% OpacFavicon | url %][% ELSE %][% interface | html %]/[% theme | html %]/images/favicon.ico[% END %]" type="image/x-icon" />
[% Asset.css("css/print.css") | $raw %]
[% IF stylesheet %]
-<link rel="stylesheet" type="text/css" href="[% stylesheet | url %]" />
+<link rel="stylesheet" type="text/css" href="[% stylesheet | $raw %]" />
[% END %]
<!-- JavaScript includes -->
[% Asset.js("lib/jquery/jquery.js") | $raw %]
[% Asset.js("js/global.js") | $raw %]
-[% INCLUDE 'slip-print.inc' %]
+[% INCLUDE 'slip-print.inc' #printThenClose %]
</head>
[% slip | html %]
</pre>
[% ELSE %]
- [% slip | html %]
+ [% slip | $raw %]
[% END %]
</div>