WIP
This commit is contained in:
1 parent
3ad8d37ecd
commit
bafe560111
1 file changed
-2
@@ -152,7 +152,6 @@ class BettypeToggle extends Component
|
|||||||
public function countBookmaker()
|
public function countBookmaker()
|
||||||
{
|
{
|
||||||
$this->bookmakerCount = EventBookmaker::where('bookmaker_id', auth()->user()->bookmaker_id)
|
$this->bookmakerCount = EventBookmaker::where('bookmaker_id', auth()->user()->bookmaker_id)
|
||||||
->where('in_feed', 1)
|
|
||||||
->where('sport_id', auth()->user()->sport_id)
|
->where('sport_id', auth()->user()->sport_id)
|
||||||
->count();
|
->count();
|
||||||
}
|
}
|
||||||
@@ -160,7 +159,6 @@ class BettypeToggle extends Component
|
|||||||
public function countPartner()
|
public function countPartner()
|
||||||
{
|
{
|
||||||
$this->partnerCount = EventBookmaker::where('bookmaker_id', auth()->user()->partner_bookmaker_id)
|
$this->partnerCount = EventBookmaker::where('bookmaker_id', auth()->user()->partner_bookmaker_id)
|
||||||
->where('in_feed', 1)
|
|
||||||
->where('sport_id', auth()->user()->sport_id)
|
->where('sport_id', auth()->user()->sport_id)
|
||||||
->count();
|
->count();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user