Lines 38-43
my $session = get_session($sessionID);
Link Here
|
38 |
|
38 |
|
39 |
my $biblionumber = $input->param('biblionumber'); |
39 |
my $biblionumber = $input->param('biblionumber'); |
40 |
my $borrowernumber = $input->param('borrowernumber'); |
40 |
my $borrowernumber = $input->param('borrowernumber'); |
|
|
41 |
my $reserve_id = $input->param('reserve_id'); |
41 |
my $transfer = $input->param('transfer'); |
42 |
my $transfer = $input->param('transfer'); |
42 |
|
43 |
|
43 |
my ( $template, $loggedinuser, $cookie ) = get_template_and_user( |
44 |
my ( $template, $loggedinuser, $cookie ) = get_template_and_user( |
Lines 53-59
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
Link Here
|
53 |
|
54 |
|
54 |
my $userenv = C4::Context->userenv; |
55 |
my $userenv = C4::Context->userenv; |
55 |
my ($slip, $is_html); |
56 |
my ($slip, $is_html); |
56 |
if ( my $letter = ReserveSlip ($session->param('branch') || $userenv->{branch}, $borrowernumber, $biblionumber) ) { |
57 |
if ( my $letter = ReserveSlip ($session->param('branch') || $userenv->{branch}, $borrowernumber, $biblionumber, $transfer, $reserve_id) ) { |
57 |
$slip = $letter->{content}; |
58 |
$slip = $letter->{content}; |
58 |
$is_html = $letter->{is_html}; |
59 |
$is_html = $letter->{is_html}; |
59 |
} |
60 |
} |