', now()->modify('-1 day'))->orderBy('date', 'asc')->limit(10)->get(); return view('home', compact('dutyhourModels')); } }