Lines 171-176
my $messages;
Link Here
|
171 |
my $issueinformation; |
171 |
my $issueinformation; |
172 |
my $itemnumber; |
172 |
my $itemnumber; |
173 |
my $barcode = $query->param('barcode'); |
173 |
my $barcode = $query->param('barcode'); |
|
|
174 |
my $ignore_reserves = $query->param('ignore_reserves'); |
174 |
my $exemptfine = $query->param('exemptfine'); |
175 |
my $exemptfine = $query->param('exemptfine'); |
175 |
my $dropboxmode = $query->param('dropboxmode'); |
176 |
my $dropboxmode = $query->param('dropboxmode'); |
176 |
my $dotransfer = $query->param('dotransfer'); |
177 |
my $dotransfer = $query->param('dotransfer'); |
Lines 216-222
if ($barcode) {
Link Here
|
216 |
# save the return |
217 |
# save the return |
217 |
# |
218 |
# |
218 |
( $returned, $messages, $issueinformation, $borrower ) = |
219 |
( $returned, $messages, $issueinformation, $borrower ) = |
219 |
AddReturn( $barcode, $userenv_branch, $exemptfine, $dropboxmode); # do the return |
220 |
AddReturn( $barcode, $userenv_branch, $exemptfine, $dropboxmode, $ignore_reserves ); # do the return |
220 |
my $homeorholdingbranchreturn = C4::Context->preference('HomeOrHoldingBranchReturn'); |
221 |
my $homeorholdingbranchreturn = C4::Context->preference('HomeOrHoldingBranchReturn'); |
221 |
$homeorholdingbranchreturn ||= 'homebranch'; |
222 |
$homeorholdingbranchreturn ||= 'homebranch'; |
222 |
|
223 |
|
Lines 390-396
if ( $messages->{'ResFound'}) {
Link Here
|
390 |
borcnum => $borr->{'cardnumber'}, |
391 |
borcnum => $borr->{'cardnumber'}, |
391 |
debarred => $borr->{'debarred'}, |
392 |
debarred => $borr->{'debarred'}, |
392 |
gonenoaddress => $borr->{'gonenoaddress'}, |
393 |
gonenoaddress => $borr->{'gonenoaddress'}, |
393 |
barcode => $barcode, |
|
|
394 |
destbranch => $reserve->{'branchcode'}, |
394 |
destbranch => $reserve->{'branchcode'}, |
395 |
borrowernumber => $reserve->{'borrowernumber'}, |
395 |
borrowernumber => $reserve->{'borrowernumber'}, |
396 |
itemnumber => $reserve->{'itemnumber'}, |
396 |
itemnumber => $reserve->{'itemnumber'}, |
Lines 556-560
$template->param(
Link Here
|
556 |
# } |
556 |
# } |
557 |
#} |
557 |
#} |
558 |
|
558 |
|
|
|
559 |
$template->param( barcode => $barcode ); |
560 |
|
559 |
# actually print the page! |
561 |
# actually print the page! |
560 |
output_html_with_http_headers $query, $cookie, $template->output; |
562 |
output_html_with_http_headers $query, $cookie, $template->output; |