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

(-)a/circ/transfer-slip.pl (-4 / +1 lines)
Lines 47-61 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
47
my $userenv = C4::Context->userenv;
47
my $userenv = C4::Context->userenv;
48
my ($slip, $is_html);
48
my ($slip, $is_html);
49
if ( my $letter = TransferSlip ($session->param('branch') || $userenv->{branch}, $itemnumber, $barcode, $branchcode) ) {
49
if ( my $letter = TransferSlip ($session->param('branch') || $userenv->{branch}, $itemnumber, $barcode, $branchcode) ) {
50
    $slip = $letter->{content};
50
    $slip = $letter;
51
    $is_html = $letter->{is_html};
52
}
51
}
53
else {
52
else {
54
    $slip = "Item not found";
53
    $slip = "Item not found";
55
}
54
}
56
$template->param(
55
$template->param(
57
    slip => $slip,
56
    slip => $slip,
58
    plain => !$is_html,
59
    caller => 'transfer',
57
    caller => 'transfer',
60
    stylesheet => C4::Context->preference("SlipCSS"),
58
    stylesheet => C4::Context->preference("SlipCSS"),
61
);
59
);
62
- 

Return to bug 33478