partner programm completed

This commit is contained in:
salam committed 2026-01-29 20:20:31 +01:00
1 parent 84bfa248cd
commit a883ccf0ea
22 files changed
+722 -28

No files matched your search

@@ -1,22 +1,22 @@
<div class="flex flex-row gap-2">
<x-filament::button size="xs" tooltip="Today" :color="auth()->user()->stars ? 'primary' : 'gray'" icon="phosphor-calendar-dot">
</x-filament::button>
<x-filament::button size="xs" tooltip="Tomorrow" :color="auth()->user()->stars ? 'primary' : 'gray'" icon="phosphor-calendar-check">
</x-filament::button>
<x-filament::button size="xs" tooltip="Today" wire:click="setToday" color="gray" icon="phosphor-calendar-dot" />
<x-filament::button size="xs" tooltip="Tomorrow" wire:click="setTomorrow" color="gray" icon="phosphor-calendar-check"/>
<div></div>
<div></div>
<div></div>
@role('partner_porgramm')
<x-filament::button size="xs" tooltip="Show Partner Odds" wire:click="toggleStar" :color="auth()->user()->stars ? 'primary' : 'gray'"
<x-filament::button size="xs" tooltip="Show Partner Odds" wire:click="toggleShowPartner" :color="auth()->user()->partner_show ? 'info' : 'gray'"
icon="phosphor-users">
</x-filament::button>
<x-filament::button disabled="true" size="xs" tooltip="Filter Partner Odds" wire:click="toggleStar"
:color="auth()->user()->stars ? 'primary' : 'gray'" icon="phosphor-not-equals">
<x-filament::button disabled="true" size="xs" wire:click="toggleComparePartner" tooltip="Filter Partner Differences"
:disabled="auth()->user()->partner_show ? false : true"
:color="auth()->user()->partner_compare ? 'info' : 'gray'"
icon="phosphor-funnel">
</x-filament::button>
<div></div>
@@ -32,7 +32,7 @@
@break
@case(1)
<x-filament::button size="xs" wire:click="toggelAllOnlyNone" icon="phosphor-gps-fix"
<x-filament::button size="xs" wire:click="toggelAllOnlyNone" icon="phosphor-gps-fix" color="info"
tooltip="Only with {{ auth()->user()->bookmaker->name }}">
</x-filament::button>
@break
@@ -47,11 +47,11 @@
@endswitch
<x-filament::button size="xs" wire:click="toggleMultiline" :tooltip="auth()->user()->is_multiline_direct ? 'Multiline slots are disabled' : 'Multiline slots are active'" :color="auth()->user()->is_multiline_direct ? 'primary' : 'gray'"
<x-filament::button size="xs" wire:click="toggleMultiline" :tooltip="auth()->user()->is_multiline_direct ? 'Multiline slots are disabled' : 'Multiline slots are active'" :color="auth()->user()->is_multiline_direct ? 'info' : 'gray'"
:icon="auth()->user()->is_multiline_direct ? 'phosphor-not-equals' : 'phosphor-equals'">
</x-filament::button>
<x-filament::button size="xs" tooltip="Toggle favorits" wire:click="toggleStar" :color="auth()->user()->stars ? 'primary' : 'gray'"
<x-filament::button size="xs" tooltip="Toggle favorits" wire:click="toggleStar" :color="auth()->user()->stars ? 'info' : 'gray'"
:icon="auth()->user()->stars ? 'phosphor-star-fill' : 'phosphor-star'">
</x-filament::button>
@@ -61,7 +61,7 @@
@foreach ($bettype_toggles as $toggle)
<x-filament::button size="xs" class="flex flex-col justify-center gap-0" tooltip="{{ $toggle['name'] }}"
wire:click="toggleBettype({{ $toggle['id'] }})" :color="!$toggle['is_active'] ? 'gray' : 'primary'">
wire:click="toggleBettype({{ $toggle['id'] }})" :color="!$toggle['is_active'] ? 'gray' : 'info'">
<div class="m-0 p-0">{{ $toggle['short'] }}</div>
</x-filament::button>
@endforeach