bbamaska
You can get an idea if you search for the first line of each code.
For example, look for public function dashboard(Request $request) in AdminController.php and replace it with the rest of the code up to line // End today dates
You can also search for return view('admin.dashboard', array( and replace everything until the bracket }
In dashboard.blade.php You can add the whole code which is almost the same as the old one, but it's just duplicated with new variable names.
Experiment with it a bit and you will figure out 🙂