View | Details | Raw Unified | Return to bug 37505
Collapse All | Expand All

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

Return to bug 37505