user()->employee; $totalSupport = Vehicle::unitSupports()->count(); $totalLv = Vehicle::lightVehicles()->count(); return view('employee.dashboard', compact('employee', 'totalSupport', 'totalLv')); } }