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

(-)a/C4/Circulation.pm (-1 / +16 lines)
Lines 2145-2150 sub AddReturn { Link Here
2145
        $messages->{'ResFound'} = $resrec;
2145
        $messages->{'ResFound'} = $resrec;
2146
    }
2146
    }
2147
2147
2148
    _after_circ_actions(
2149
        {
2150
            action  => 'checkin',
2151
            payload => {
2152
                library_id        => C4::Context->userenv->{'branch'},
2153
                item_id           => $item->itemnumber,
2154
                item_type         => $item->effective_itemtype,
2155
                shelving_location => $item->location // q{},
2156
                patron_id         => $borrowernumber,
2157
                collection_code   => $item->ccode // q{},
2158
                date_returned     => $return_date,
2159
                date_due          => $issue ? $issue->date_due : q{}
2160
            }
2161
        }
2162
    ) if C4::Context->config("enable_plugins");
2163
2148
    # Record the fact that this book was returned.
2164
    # Record the fact that this book was returned.
2149
    UpdateStats({
2165
    UpdateStats({
2150
        branch         => $branch,
2166
        branch         => $branch,
2151
- 

Return to bug 21468