|
Lines 23-37
Link Here
|
| 23 |
|
23 |
|
| 24 |
[% INCLUDE 'slip-print.inc' #printThenClose %] |
24 |
[% INCLUDE 'slip-print.inc' #printThenClose %] |
| 25 |
</head> |
25 |
</head> |
|
|
26 |
|
| 27 |
[% PROCESS 'notice_format_translations.inc' %] |
| 28 |
|
| 26 |
<body id="circ_printslip" class="circ"> |
29 |
<body id="circ_printslip" class="circ"> |
| 27 |
<div id="receipt"> |
30 |
<div id="receipt"> |
| 28 |
|
31 |
[% IF ( slip ) %] |
| 29 |
[% IF plain %] |
32 |
<div class="slip" style=" |
| 30 |
<pre> |
33 |
text-align:[% PROCESS translate_justification_types type=slip.text_justify | trim %]; |
| 31 |
[% IF ( slip ) %][% slip | html %][% ELSE %]No slip template found[% END %] |
34 |
font-size:[% slip.font_size %]px; |
| 32 |
</pre> |
35 |
width:[% slip.notice_width %][% PROCESS translate_unit_types type=slip.units | trim %]; |
| 33 |
[% ELSE %] |
36 |
margin-top:[% slip.top_margin %][% PROCESS translate_unit_types type=slip.units | trim %]; |
| 34 |
[% IF ( slip ) %][% slip | $raw %][% ELSE %]No slip template found[% END %] |
37 |
margin-left:[% slip.left_margin %][% PROCESS translate_unit_types type=slip.units | trim %]; |
| 35 |
[% END %] |
38 |
"> |
|
|
39 |
[% IF slip.is_html %] |
| 40 |
[% slip.content | $raw %] |
| 41 |
[% ELSE %] |
| 42 |
<pre> |
| 43 |
[% slip.content | html %] |
| 44 |
</pre> |
| 45 |
[% END %] |
| 46 |
</div> |
| 47 |
[% ELSE %] |
| 48 |
No slip template found |
| 49 |
[% END %] |
| 50 |
</div> |
| 36 |
|
51 |
|
| 37 |
[% INCLUDE 'intranet-bottom.inc' %] |
52 |
[% INCLUDE 'intranet-bottom.inc' %] |
| 38 |
- |
|
|