Lines 2-7
Link Here
|
2 |
[% USE Asset %] |
2 |
[% USE Asset %] |
3 |
[% USE Koha %] |
3 |
[% USE Koha %] |
4 |
[% PROCESS 'i18n.inc' %] |
4 |
[% PROCESS 'i18n.inc' %] |
|
|
5 |
[% SET footerjs = 1 %] |
5 |
[% INCLUDE 'doc-head-open.inc' %] |
6 |
[% INCLUDE 'doc-head-open.inc' %] |
6 |
[% UNLESS slips && slips.size %] |
7 |
[% UNLESS slips && slips.size %] |
7 |
[% SET slips = [{content => slip, is_html => !plain, style => style, id => id }] %] |
8 |
[% SET slips = [{content => slip, is_html => !plain, style => style, id => id }] %] |
Lines 35-40
Link Here
|
35 |
[% INCLUDE 'doc-head-close.inc' %] |
36 |
[% INCLUDE 'doc-head-close.inc' %] |
36 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
37 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
37 |
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon | url %][% ELSE %][% interface | html %]/[% theme | html %]/img/favicon.ico[% END %]" type="image/x-icon" /> |
38 |
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon | url %][% ELSE %][% interface | html %]/[% theme | html %]/img/favicon.ico[% END %]" type="image/x-icon" /> |
|
|
39 |
|
38 |
[% Asset.css("css/print.css") | $raw %] |
40 |
[% Asset.css("css/print.css") | $raw %] |
39 |
[% IF ( Koha.Preference('PrintSlipStylesheet') ) %] |
41 |
[% IF ( Koha.Preference('PrintSlipStylesheet') ) %] |
40 |
<link rel="stylesheet" type="text/css" href="[% Koha.Preference('PrintSlipStylesheet') | $raw %]" /> |
42 |
<link rel="stylesheet" type="text/css" href="[% Koha.Preference('PrintSlipStylesheet') | $raw %]" /> |
Lines 43-53
Link Here
|
43 |
[% IF slip.style %]<style>[% slip.style.replace('([^\{\}]+?)\s*\{', '#slip_' _ slip.id _ ' $1 {') | $raw %]</style>[% END %] |
45 |
[% IF slip.style %]<style>[% slip.style.replace('([^\{\}]+?)\s*\{', '#slip_' _ slip.id _ ' $1 {') | $raw %]</style>[% END %] |
44 |
[% END %] |
46 |
[% END %] |
45 |
|
47 |
|
46 |
[% INCLUDE 'slip-print.inc' #printThenClose %] |
|
|
47 |
</head> |
48 |
</head> |
48 |
<body id="circ_printslip" class="circ"> |
49 |
<body id="circ_printslip" class="circ"> |
49 |
<div id="receipt"> |
50 |
<div id="receipt"> |
50 |
|
|
|
51 |
[% UNLESS slips && slips.size %] |
51 |
[% UNLESS slips && slips.size %] |
52 |
[% SET slips = [{content => slip, is_html => !plain, style => style }] %] |
52 |
[% SET slips = [{content => slip, is_html => !plain, style => style }] %] |
53 |
[% END %] |
53 |
[% END %] |
Lines 64-67
Link Here
|
64 |
[% IF slips.size > 1 && !loop.last%]<div class="pagebreak"></div>[% END %] |
64 |
[% IF slips.size > 1 && !loop.last%]<div class="pagebreak"></div>[% END %] |
65 |
[% END %] |
65 |
[% END %] |
66 |
|
66 |
|
|
|
67 |
[% MACRO jsinclude BLOCK %] |
68 |
[% INCLUDE 'slip-print.inc' #printThenClose %] |
69 |
[% END %] |
70 |
|
67 |
[% INCLUDE 'intranet-bottom.inc' %] |
71 |
[% INCLUDE 'intranet-bottom.inc' %] |
68 |
- |
|
|