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

(-)a/C4/Circulation.pm (-2 / +3 lines)
Lines 2061-2069 sub AddReturn { Link Here
2061
        # if we don't have a reserve with the status W, we launch the Checkreserves routine
2061
        # if we don't have a reserve with the status W, we launch the Checkreserves routine
2062
        my $lookahead= C4::Context->preference('ConfirmFutureHolds'); #number of days to look for future holds
2062
        my $lookahead= C4::Context->preference('ConfirmFutureHolds'); #number of days to look for future holds
2063
        ($resfound, $resrec, undef) = C4::Reserves::CheckReserves( $item->{'itemnumber'}, undef, $lookahead ) unless ( $item->{'withdrawn'} );
2063
        ($resfound, $resrec, undef) = C4::Reserves::CheckReserves( $item->{'itemnumber'}, undef, $lookahead ) unless ( $item->{'withdrawn'} );
2064
        warn $issue;
2065
        warn $resrec;
2064
        if ($resfound) {
2066
        if ($resfound) {
2065
            $resrec->{'ResFound'} = $resfound;
2067
            $resrec->{'ResFound'} = $resfound;
2066
            $messages->{'ResFound'} = $resrec;
2068
            $messages->{'ResFound'} = $resrec;
2069
        }
2067
    }
2070
    }
2068
2071
2069
    # Record the fact that this book was returned.
2072
    # Record the fact that this book was returned.
Lines 4150-4156 sub _CalculateAndUpdateFine { Link Here
4150
    }
4153
    }
4151
}
4154
}
4152
4155
4153
}
4154
1;
4156
1;
4155
4157
4156
__END__
4158
__END__
4157
- 

Return to bug 19532