commenting out the nulling of last checkout date on checkin page and API

This commit is contained in:
akemidx 2024-02-13 16:21:18 -05:00
parent 65e20282b6
commit 4a57cfaf3e
2 changed files with 2 additions and 2 deletions

View file

@ -879,7 +879,7 @@ class AssetsController extends Controller
}
$asset->expected_checkin = null;
$asset->last_checkout = null;
//$asset->last_checkout = null;
$asset->last_checkin = now();
$asset->assigned_to = null;
$asset->assignedTo()->disassociate($asset);

View file

@ -67,7 +67,7 @@ class AssetCheckinController extends Controller
}
$asset->expected_checkin = null;
$asset->last_checkout = null;
//$asset->last_checkout = null;
$asset->last_checkin = now();
$asset->assigned_to = null;
$asset->assignedTo()->disassociate($asset);