Exemplo n.º 1
0
 public function index()
 {
     $shopkeepers = User::shopkeepers()->get();
     return view('stats.home', compact('shopkeepers'));
 }
Exemplo n.º 2
0
 public function stats()
 {
     $shopkeepers = User::shopkeepers()->get();
     return view('dashboard.pages.admin.stats', compact('shopkeepers'));
 }