View | Details | Raw Unified | Return to bug 33478
Collapse All | Expand All

(-)a/circ/hold-transfer-slip.pl (-1 / +2 lines)
Lines 46-54 if ( my $letter = ReserveSlip ({ Link Here
46
    branchcode     => $session->param('branch') || $userenv->{branch},
46
    branchcode     => $session->param('branch') || $userenv->{branch},
47
    reserve_id => $reserve_id,
47
    reserve_id => $reserve_id,
48
}) ) {
48
}) ) {
49
    $slip = $letter->{content};
49
    $slip = $letter;
50
    $is_html = $letter->{is_html};
50
    $is_html = $letter->{is_html};
51
}
51
}
52
52
$template->param( slip => $slip ) if ($slip);
53
$template->param( slip => $slip ) if ($slip);
53
$template->param( caller => 'hold-transfer' );
54
$template->param( caller => 'hold-transfer' );
54
$template->param( plain => !$is_html );
55
$template->param( plain => !$is_html );
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/notice_format_translations.inc (+16 lines)
Line 0 Link Here
1
[% BLOCK translate_justification_types %]
2
    [%  SWITCH type %]
3
        [%   CASE 'L' %]left
4
        [%   CASE 'C' %]center
5
        [%   CASE 'R' %]right
6
    [%  END %]
7
[% END %]
8
9
[% BLOCK translate_unit_types %]
10
    [% SWITCH type %]
11
        [%   CASE 'POINT' %]pt
12
        [%   CASE 'INCH' %]in
13
        [%   CASE 'MM' %]mm
14
        [%   CASE 'CM' %]cm
15
    [% END %]
16
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/slip_content.inc (+15 lines)
Line 0 Link Here
1
<div class="notice" style="
2
    text-align:[% PROCESS translate_justification_types type=notice.text_justify | trim %];
3
    font-size:[% notice.font_size %]px;
4
    width:[% notice.notice_width %][% PROCESS translate_unit_types type=notice.units | trim %];
5
    margin-top:[% notice.top_margin %][% PROCESS translate_unit_types type=notice.units | trim %];
6
    margin-left:[% notice.left_margin %][% PROCESS translate_unit_types type=notice.units | trim %];
7
">
8
    [% IF notice.is_html %]
9
        [% notice.content | $raw %]
10
    [% ELSE %]
11
    <pre>
12
        [% notice.content | html %]
13
    </pre>
14
    [% END %]
15
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/printslip.tt (-9 / +9 lines)
Lines 32-46 Link Here
32
32
33
[% INCLUDE 'slip-print.inc' #printThenClose %]
33
[% INCLUDE 'slip-print.inc' #printThenClose %]
34
</head>
34
</head>
35
36
[% PROCESS 'notice_format_translations.inc' %]
37
35
<body id="circ_printslip" class="circ">
38
<body id="circ_printslip" class="circ">
36
<div id="receipt">
39
<div id="receipt">
37
40
    [% IF ( slip ) %]
38
[% IF plain %]
41
        [% PROCESS 'slip_content.inc' notice=slip %]
39
<pre>
42
    [% ELSE %]
40
[% IF ( slip ) %][% slip | html %][% ELSE %]No slip template found[% END %]
43
        No slip template found
41
</pre>
44
    [% END %]
42
[% ELSE %]
45
</div>
43
[% IF ( slip ) %][% slip | $raw %][% ELSE %]No slip template found[% END %]
44
[% END %]
45
46
46
[% INCLUDE 'intranet-bottom.inc' %]
47
[% INCLUDE 'intranet-bottom.inc' %]
47
- 

Return to bug 33478