Lines 41-57
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
Link Here
|
41 |
); |
41 |
); |
42 |
|
42 |
|
43 |
my $userenv = C4::Context->userenv; |
43 |
my $userenv = C4::Context->userenv; |
44 |
my ($slip, $is_html); |
44 |
my ( $slip, $is_html, $style ); |
45 |
if ( my $letter = ReserveSlip ({ |
45 |
if ( my $letter = ReserveSlip ({ |
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->{content}; |
50 |
$is_html = $letter->{is_html}; |
50 |
$is_html = $letter->{is_html}; |
|
|
51 |
$style = $letter->{style}; |
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 ); |
|
|
56 |
$template->param( style => $style ); |
55 |
|
57 |
|
56 |
output_html_with_http_headers $input, $cookie, $template->output; |
58 |
output_html_with_http_headers $input, $cookie, $template->output; |
57 |
|
59 |
|
58 |
- |
|
|