@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 {{-- Event Mapper --}}
Event Mapper
@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 @if (in_array(auth()->user()->bookmaker_id, [35, 36])) @if (auth()->user()->provider_id != 5) @endif @if (auth()->user()->provider_id != 6) @endif @endif @if (in_array(auth()->user()->bookmaker_id, [10, 16])) @if (auth()->user()->provider_id != 4) @endif @if (auth()->user()->provider_id != 3) @endif @endif @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 Settings Alarm Settings Content {{-- Calculation --}} Methods Settings
Methods Settings Content
@endif