@if ($this->current == 'filament.admin.resources.events.index') {{-- Client Swop Bookmaker --}} @switch(auth()->user()->bookmaker_id) @case(26) @break @case(27) @break @case(20) @break @case(24) @break @endswitch @if (in_array(auth()->user()->bookmaker_id, [26, 27])) @if (auth()->user()->bookmaker_id != 26) @endif @if (auth()->user()->bookmaker_id != 27) @endif @endif @if (in_array(auth()->user()->bookmaker_id, [20, 24])) @if (auth()->user()->bookmaker_id != 20) @endif @if (auth()->user()->bookmaker_id != 24) @endif @endif {{-- Swop Sport --}} @foreach ($sports as $id => $name) @endforeach {{-- Event Mapper --}} 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, [26, 27])) @if (auth()->user()->provider_id != 5) @endif @if (auth()->user()->provider_id != 6) @endif @endif @if (in_array(auth()->user()->bookmaker_id, [20, 24])) @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')
Settings {{-- wire:click="openViewModal" --}} Alarm Settings Alarm Settings {{-- Modal content --}}
Alarm Settings Content
{{-- wire:click="openViewModal" --}} Multiline Settings Multiline Settings {{-- Modal content --}} @livewire('multiline-bookmaker') {{-- wire:click="openViewModal" --}} Level Settings Level Settings {{-- Modal content --}}
Level Settings Content
{{-- wire:click="openViewModal" --}} Methods Settings Methods Settings {{-- Modal content --}}
Methods Settings Content
@endif @if (auth()->user()->hasRole('konto_switch')) {{ $client }} @foreach ($clients as $id => $name) {{ $name }} @endforeach @endif