Merge pull request #14283 from akemidx/bug/sc-24788

FIXED: Checked in Assets Did Not Show in Custom Report when Selecting a Valid Checked Out Date
This commit is contained in:
snipe
2024-02-28 11:47:46 +00:00
committed by GitHub
3 changed files with 11 additions and 5 deletions
@@ -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);