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 400-406
if ( $messages->{'ResFound'}) {
Link Here
|
400 |
borcnum => $borr->{'cardnumber'}, |
401 |
borcnum => $borr->{'cardnumber'}, |
401 |
debarred => $borr->{'debarred'}, |
402 |
debarred => $borr->{'debarred'}, |
402 |
gonenoaddress => $borr->{'gonenoaddress'}, |
403 |
gonenoaddress => $borr->{'gonenoaddress'}, |
403 |
barcode => $barcode, |
|
|
404 |
destbranch => $reserve->{'branchcode'}, |
404 |
destbranch => $reserve->{'branchcode'}, |
405 |
borrowernumber => $reserve->{'borrowernumber'}, |
405 |
borrowernumber => $reserve->{'borrowernumber'}, |
406 |
itemnumber => $reserve->{'itemnumber'}, |
406 |
itemnumber => $reserve->{'itemnumber'}, |
Lines 625-629
$template->param(
Link Here
|
625 |
# } |
625 |
# } |
626 |
#} |
626 |
#} |
627 |
|
627 |
|
|
|
628 |
$template->param( barcode => $barcode ); |
629 |
|
628 |
# actually print the page! |
630 |
# actually print the page! |
629 |
output_html_with_http_headers $query, $cookie, $template->output; |
631 |
output_html_with_http_headers $query, $cookie, $template->output; |