fixes typo

This commit is contained in:
Godfrey M 2022-04-07 11:18:16 -07:00
parent 8498082f21
commit 1325628039

View file

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