Lines 187-204
if ($barcode) {
Link Here
|
187 |
} |
187 |
} |
188 |
} |
188 |
} |
189 |
|
189 |
|
190 |
if ( C4::Context->preference("ReturnToShelvingCart") ) { |
|
|
191 |
my $item = GetItem( $itemnumber ); |
192 |
$item->{'location'} = 'CART'; |
193 |
ModItem( $item, $item->{'biblionumber'}, $item->{'itemnumber'} ); |
194 |
} |
195 |
|
196 |
# |
190 |
# |
197 |
# save the return |
191 |
# save the return |
198 |
# |
192 |
# |
199 |
( $returned, $messages, $issueinformation, $borrower ) = |
193 |
( $returned, $messages, $issueinformation, $borrower ) = |
200 |
AddReturn( $barcode, $userenv_branch, $exemptfine, $dropboxmode); # do the return |
194 |
AddReturn( $barcode, $userenv_branch, $exemptfine, $dropboxmode); # do the return |
201 |
|
195 |
|
|
|
196 |
if ( C4::Context->preference("ReturnToShelvingCart") && !$messages->{'WasTransfered'} ) { |
197 |
my $item = GetItem( $itemnumber ); |
198 |
$item->{'location'} = 'CART'; |
199 |
ModItem( $item, $item->{'biblionumber'}, $item->{'itemnumber'} ); |
200 |
} |
201 |
|
202 |
# get biblio description |
202 |
# get biblio description |
203 |
my $biblio = GetBiblioFromItemNumber($itemnumber); |
203 |
my $biblio = GetBiblioFromItemNumber($itemnumber); |
204 |
# fix up item type for display |
204 |
# fix up item type for display |
205 |
- |
|
|