reorder the cluser

This commit is contained in:
salam committed 2026-04-08 16:00:16 +02:00
1 parent 7ad439258c
commit 79839c04a4
53 files changed
+755 -705

No files matched your search

@@ -92,113 +92,8 @@
@livewire('user-notifications')
</x-filament::modal>
{{-- Event Mapper
<x-filament::modal width="screen" icon="phosphor-arrows-in-line-horizontal" :close-by-clicking-away="true" :close-by-escaping="true"
:close-button="true">
<x-slot name="trigger">
<x-filament::button outlined icon="phosphor-arrows-in-line-horizontal" color="gray" class="my-auto"
tooltip="Event Mapper">
</x-filament::button>
</x-slot>
<x-slot name="heading">
<div class="flex justify-end items-center gap-20">
<x-sport-header>
Event Mapper {{ auth()->user()->sport->name }}
</x-sport-header>
@php
if (!auth()->user()->provider_id) {
auth()->user()->provider_id = 2;
}
@endphp
<x-filament::dropdown>
<x-slot name="trigger">
@switch(auth()->user()->provider_id)
@case(5)
<x-bkm-logifuture-nigeria class="h-5" />
@break
@case(6)
<x-bkm-logifuture-colombia class="h-5" />
@break
@case(4)
<x-bkm-magloo-nigeria class="h-5" />
@break
@case(3)
<x-bkm-magloo-kenia class="h-5" />
@break
@case(2)
<x-bkm-bet365 class="h-5" />
@break
@endswitch
</x-slot>
<x-filament::dropdown.list @click="toggle">
@switch(auth()->user()->bookmaker_id)
@case(35)
@if (auth()->user()->provider_id != 5)
<x-filament::dropdown.list.item wire:click="swopProvider(5)">
<x-bkm-logifuture-nigeria class="h-5 mx-auto" />
</x-filament::dropdown.list.item>
@endif
@break
@case(36)
@if (auth()->user()->provider_id != 6)
<x-filament::dropdown.list.item wire:click="swopProvider(6)">
<x-bkm-logifuture-colombia class="h-5 mx-auto" />
</x-filament::dropdown.list.item>
@endif
@break
@case(10)
@if (auth()->user()->provider_id != 4)
<x-filament::dropdown.list.item wire:click="swopProvider(4)">
<x-bkm-magloo-nigeria class="h-5 mx-auto" />
</x-filament::dropdown.list.item>
@endif
@break
@case(16)
@if (auth()->user()->provider_id != 3)
<x-filament::dropdown.list.item wire:click="swopProvider(3)">
<x-bkm-magloo-kenia class="h-5 mx-auto" />
</x-filament::dropdown.list.item>
@endif
@break
@default
@endswitch
@if (auth()->user()->hasRole('mapper_source_betsapi') && auth()->user()->provider_id != 2)
<x-filament::dropdown.list.item wire:click="swopProvider(2)">
<x-bkm-bet365 class="h-5" />
</x-filament::dropdown.list.item>
@endif
</x-filament::dropdown.list>
</x-filament::dropdown>
</div>
</x-slot>
<div id="mapper" class="grid grid-cols-2 gap-4 drag-and-drop text-sm" x-data="{ search_left: '', search_right: '', event_id: 0, match_id: 0, overleftcolumn: false, overrightcolumn: false }"
x-init="$watch('search_left', value => Livewire.dispatch('search_left', value));
$watch('search_right', value => Livewire.dispatch('search_right', value));">
<div>
@livewire('mapper-left')
</div>
<div>
@livewire('mapper-right')
</div>
</div>
</x-filament::modal>
--}}
{{-- Multiline --}}
<x-filament::modal width="4xl" icon="phosphor-equals" :close-by-clicking-away="true" :close-by-escaping="true" :close-button="true">