fixes typo

This commit is contained in:
Godfrey M 2022-04-07 11:16:40 -07:00
parent 6dc45c189b
commit 8498082f21

View file

@ -107,7 +107,7 @@ class AssetCheckinController extends Controller
}
$checkin_at = date('Y-m-d H:i:s');
if (($request->filled('checkin_at')) && ($request->get('checkin_at') != date('Y-m-d'))) {
if (($request->filled('checkout_at')) && ($request->get('checkin_at') != date('Y-m-d'))) {
$checkin_at = $request->get('checkout_at');
}