Lines 29-34
Link Here
|
29 |
[% IF ( Koha.Preference('SlipCSS') ) %] |
29 |
[% IF ( Koha.Preference('SlipCSS') ) %] |
30 |
<link rel="stylesheet" type="text/css" href="[% Koha.Preference('SlipCSS') | $raw %]" /> |
30 |
<link rel="stylesheet" type="text/css" href="[% Koha.Preference('SlipCSS') | $raw %]" /> |
31 |
[% END %] |
31 |
[% END %] |
|
|
32 |
[% FOR slip IN slips %] |
33 |
[% IF slip.style %]<style>[% slip.style.replace('([^\{\}]+?)\s*\{', '#slip_' _ slip.id _ ' $1 {') | $raw %]</style>[% END %] |
34 |
[% END %] |
32 |
|
35 |
|
33 |
[% INCLUDE 'slip-print.inc' #printThenClose %] |
36 |
[% INCLUDE 'slip-print.inc' #printThenClose %] |
34 |
</head> |
37 |
</head> |
Lines 39-45
Link Here
|
39 |
[% SET slips = [{content => slip, is_html => !plain, style => style }] %] |
42 |
[% SET slips = [{content => slip, is_html => !plain, style => style }] %] |
40 |
[% END %] |
43 |
[% END %] |
41 |
[% FOR slip IN slips %] |
44 |
[% FOR slip IN slips %] |
42 |
[% IF slip.style %]<style>[% slip.style.replace('[^{]+{', '#slip_' _ slip.id _ ' {') | $raw %]</style>[% END %] |
|
|
43 |
<div id="slip_[% slip.id | html %]"> |
45 |
<div id="slip_[% slip.id | html %]"> |
44 |
[% UNLESS slip.is_html %] |
46 |
[% UNLESS slip.is_html %] |
45 |
<pre> |
47 |
<pre> |
46 |
- |
|
|