Lines 364-382
if (@$barcodes && $op eq 'cud-checkout') {
Link Here
|
364 |
} |
364 |
} |
365 |
|
365 |
|
366 |
if ( $issuingimpossible->{'STATS'} ) { |
366 |
if ( $issuingimpossible->{'STATS'} ) { |
367 |
$template->param( STATS => 1 ); |
367 |
my ( $stats_return, $stats_messages, $stats_iteminformation, $stats_borrower ) = |
|
|
368 |
AddReturn( $item->barcode, C4::Context->userenv->{'branch'}, undef, undef, 1 ); |
368 |
|
369 |
|
369 |
if ( $item->onloan ) { |
370 |
$template->param( |
370 |
my ( $stats_return, $stats_messages, $stats_iteminformation, $stats_borrower ) = |
371 |
STATS => 1, |
371 |
AddReturn( $item->barcode, C4::Context->userenv->{'branch'}, undef, undef, 1 ); |
372 |
CHECKEDIN => $stats_return, |
372 |
|
373 |
MESSAGES => $stats_messages, |
373 |
$template->param( |
374 |
ITEM => $stats_iteminformation, |
374 |
CHECKEDIN => $stats_return, |
375 |
BORROWER => $stats_borrower, |
375 |
MESSAGES => $stats_messages, |
376 |
); |
376 |
ITEM => $stats_iteminformation, |
|
|
377 |
BORROWER => $stats_borrower, |
378 |
); |
379 |
} |
380 |
|
377 |
|
381 |
#increment items.localuse |
378 |
#increment items.localuse |
382 |
my $localuse_count = $item->localuse; |
379 |
my $localuse_count = $item->localuse; |
383 |
- |
|
|