Lines 2119-2124
sub AddReturn {
Link Here
|
2119 |
$messages->{'ResFound'} = $resrec; |
2119 |
$messages->{'ResFound'} = $resrec; |
2120 |
} |
2120 |
} |
2121 |
|
2121 |
|
|
|
2122 |
_after_circ_actions( |
2123 |
{ |
2124 |
action => 'checkin', |
2125 |
payload => { |
2126 |
library_id => C4::Context->userenv->{'branch'}, |
2127 |
item_id => $item->itemnumber, |
2128 |
item_type => $item->effective_itemtype, |
2129 |
shelving_location => $item->location // q{}, |
2130 |
patron_id => $borrowernumber, |
2131 |
collection_code => $item->ccode // q{}, |
2132 |
date_returned => $return_date, |
2133 |
date_due => $issue ? $issue->date_due : q{} |
2134 |
} |
2135 |
} |
2136 |
) if C4::Context->config("enable_plugins"); |
2137 |
|
2122 |
# Record the fact that this book was returned. |
2138 |
# Record the fact that this book was returned. |
2123 |
UpdateStats({ |
2139 |
UpdateStats({ |
2124 |
branch => $branch, |
2140 |
branch => $branch, |
2125 |
- |
|
|