@if ($this->current == 'filament.admin.resources.events.index') {{-- Client Swop Bookmaker --}} @switch(auth()->user()->bookmaker_id) @case(35) @break @case(36) @break @case(10) @break @case(16) @break @endswitch @if (in_array(auth()->user()->bookmaker_id, [35, 36])) @if (auth()->user()->bookmaker_id != 35) @endif @if (auth()->user()->bookmaker_id != 36) @endif @endif @if (in_array(auth()->user()->bookmaker_id, [10, 16])) @if (auth()->user()->bookmaker_id != 10) @endif @if (auth()->user()->bookmaker_id != 16) @endif @endif {{-- Notifications --}} {{-- Notifications Settings @livewire('personal-notification-table') --}} {{-- Send Message --}} Send Message @livewire('user-notifications') {{-- Event Mapper --}}
Event Mapper {{ auth()->user()->sport->name }} @php if (!auth()->user()->provider_id) { auth()->user()->provider_id = 2; } @endphp @switch(auth()->user()->provider_id) @case(5) @break @case(6) @break @case(4) @break @case(3) @break @case(2) @break @endswitch @switch(auth()->user()->bookmaker_id) @case(35) @if (auth()->user()->provider_id != 5) @endif @break @case(36) @if (auth()->user()->provider_id != 6) @endif @break @case(10) @if (auth()->user()->provider_id != 4) @endif @break @case(16) @if (auth()->user()->provider_id != 3) @endif @break @default @endswitch @if (auth()->user()->hasRole('mapper_source_betsapi') && auth()->user()->provider_id != 2) @endif
@livewire('mapper-left')
@livewire('mapper-right')
{{-- Multiline --}} Multiline Settings @livewire('multiline-bookmaker') {{-- Alarm --}} Alarm Level Settings @livewire('alarm-bookmaker') {{-- Calculation --}} Comparing Bookmaker @livewire('comparing-bookmaker-menu') {{-- Custom Groups --}} Custom Groups @livewire('client-group-list-editor') @endif