@@ -, +, @@ * Return some items checked out to patrons * Check out some items that are currently checked out to other patrons where the item was checked out to a different patron --- C4/Circulation.pm | 6 ++++++ 1 file changed, 6 insertions(+) --- a/C4/Circulation.pm +++ a/C4/Circulation.pm @@ -4081,6 +4081,9 @@ sub ProcessOfflineReturn { ); $item->onloan(undef); $item->store({ log_action => 0 }); + + logaction("CIRCULATION", "RETURN", $issue->{borrowernumber}, $itemnumber) + if C4::Context->preference("ReturnLog"); return "Success."; } else { return "Item not issued."; @@ -4109,6 +4112,9 @@ sub ProcessOfflineIssue { $itemnumber, $operation->{timestamp}, ); + + logaction("CIRCULATION", "ISSUE", $issue->{borrowernumber}, $itemnumber) + if C4::Context->preference("ReturnLog"); } AddIssue( $patron->unblessed, --