From 157efd8df05c5922ca2213e756d1c59a8047c0bc Mon Sep 17 00:00:00 2001 From: shahrzad011 Date: Wed, 19 Aug 2026 08:28:03 +0330 Subject: [PATCH] fix: update dashboard functionality --- app/Http/Controllers/admin/DashboardController.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/Http/Controllers/admin/DashboardController.php b/app/Http/Controllers/admin/DashboardController.php index af2c423..010c27c 100644 --- a/app/Http/Controllers/admin/DashboardController.php +++ b/app/Http/Controllers/admin/DashboardController.php @@ -32,16 +32,13 @@ class DashboardController extends Controller $favoritesCount = Favorite::count(); - $paymentsCount = Payment::count(); - return view('admin.dashboard', compact( 'usersCount', 'toursCount', 'flightsCount', 'airportsCount', 'commentsCount', - 'favoritesCount', - 'paymentsCount' + 'favoritesCount' )); }