wip
This commit is contained in:
1 parent
4acf0e73ac
commit
d64051e30c
1 file changed
+2
-2
@@ -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();
|
||||
|
||||
|
||||
Reference in new issue
Block a user