From d64051e30c82fb5f190b0a569ff68cc44f11fa0e Mon Sep 17 00:00:00 2001 From: salam Date: Fri, 27 Feb 2026 16:25:46 +0100 Subject: [PATCH] wip --- app/Livewire/BettypeToggle.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Livewire/BettypeToggle.php b/app/Livewire/BettypeToggle.php index 23558bed..8704dd88 100644 --- a/app/Livewire/BettypeToggle.php +++ b/app/Livewire/BettypeToggle.php @@ -152,7 +152,7 @@ class BettypeToggle extends Component public function countBookmaker() { $this->bookmakerCount = EventBookmaker::where('bookmaker_id', auth()->user()->bookmaker_id) - ->where('starttime', '>', Carbon::now()) + ->where('starttime', '>', Carbon::now()->timezone('CET')) ->where('sport_id', auth()->user()->sport_id) ->count(); } @@ -160,7 +160,7 @@ class BettypeToggle extends Component public function countPartner() { $this->partnerCount = EventBookmaker::where('bookmaker_id', auth()->user()->partner_bookmaker_id) - ->where('starttime', '>', Carbon::now()) + ->where('starttime', '>', Carbon::now()->timezone('CET')) ->where('sport_id', auth()->user()->sport_id) ->count();