Bug 31212: (follow-up) Fix datelastseen when returning item
Signed-off-by: Andrew Fuerste-Henry <andrewfh@dubcolib.org> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
8b02cfe94b
commit
2cd45bae39
1 changed files with 1 additions and 1 deletions
|
@ -433,7 +433,7 @@ if ($barcode) {
|
|||
$verify_item->itemlost(0);
|
||||
|
||||
# Update last_seen
|
||||
$verify_item->datelastseen( dt_from_string()->ymd() );
|
||||
$verify_item->datelastseen( dt_from_string() );
|
||||
|
||||
# Update last_borrowed if actual checkin
|
||||
$verify_item->datelastborrowed( dt_from_string()->ymd() ) if $issue;
|
||||
|
|
Loading…
Reference in a new issue