This commit is contained in:
salam committed 2026-02-27 16:25:46 +01:00
1 parent 4acf0e73ac
commit d64051e30c
1 file changed
+2 -2
+2 -2
View File
@@ -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();