wip
This commit is contained in:
1 parent
0a32a32ba0
commit
734de27f9b
2 files changed
+3
-3
No files matched your search
@@ -167,7 +167,7 @@ class BettypeToggle extends Component
|
|||||||
->count();
|
->count();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function toggleBookmakerPartnerDiffrences()
|
public function toggleBookmakerPartnerDifferences()
|
||||||
{
|
{
|
||||||
User::where('id', auth()->user()->id)->update(['bookmaker_partner_differences' => DB::raw('!bookmaker_partner_differences')]);
|
User::where('id', auth()->user()->id)->update(['bookmaker_partner_differences' => DB::raw('!bookmaker_partner_differences')]);
|
||||||
|
|
||||||
|
|||||||
@@ -23,8 +23,8 @@
|
|||||||
|
|
||||||
@role('partner_porgramm')
|
@role('partner_porgramm')
|
||||||
<div class="flex flex-row gap-2">
|
<div class="flex flex-row gap-2">
|
||||||
<x-filament::button size="xs" wire:poll.20s="setDifferences" :color="auth()->user()->bookmaker_partner_differences ? 'primary' : 'gray'"
|
<x-filament::button size="xs" wire:poll.20s="countBookmaker" :color="auth()->user()->bookmaker_partner_differences ? 'primary' : 'gray'"
|
||||||
wire:click="toggleBookmakerPartnerDiffrences"
|
wire:click="toggleBookmakerPartnerDifferences"
|
||||||
tooltip="{{ auth()->user()->bookmaker->name .
|
tooltip="{{ auth()->user()->bookmaker->name .
|
||||||
' ' .
|
' ' .
|
||||||
$this->bookmakerCount .
|
$this->bookmakerCount .
|
||||||
|
|||||||
Reference in new issue
Block a user