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 ); |