163 lines
6.1 KiB
PHP
163 lines
6.1 KiB
PHP
<div class="flex flex-1 gap-3 mr-5">
|
|
@if ($this->current == 'filament.admin.resources.events.index')
|
|
|
|
{{-- Client Swop Bookmaker --}}
|
|
|
|
<x-filament::dropdown>
|
|
<x-slot name="trigger">
|
|
<x-filament::button outlined color="gray" tooltip="Swop Bookmaker">
|
|
|
|
@switch(auth()->user()->bookmaker_id)
|
|
@case(35)
|
|
<x-bkm-logifuture-nigeria class="h-5" />
|
|
@break
|
|
|
|
@case(36)
|
|
<x-bkm-logifuture-colombia class="h-5" />
|
|
@break
|
|
|
|
@case(10)
|
|
<x-bkm-magloo-nigeria class="h-5" />
|
|
@break
|
|
|
|
@case(16)
|
|
<x-bkm-magloo-kenia class="h-5" />
|
|
@break
|
|
@endswitch
|
|
</x-filament::button>
|
|
</x-slot>
|
|
|
|
<x-filament::dropdown.list>
|
|
|
|
@if (in_array(auth()->user()->bookmaker_id, [35, 36]))
|
|
@if (auth()->user()->bookmaker_id != 35)
|
|
<x-filament::dropdown.list.item wire:click="swopBookmaker(35)">
|
|
<x-bkm-logifuture-nigeria class="h-5 mx-auto" />
|
|
</x-filament::dropdown.list.item>
|
|
@endif
|
|
|
|
@if (auth()->user()->bookmaker_id != 36)
|
|
<x-filament::dropdown.list.item wire:click="swopBookmaker(36)">
|
|
<x-bkm-logifuture-colombia class="h-5 mx-auto" />
|
|
</x-filament::dropdown.list.item>
|
|
@endif
|
|
@endif
|
|
|
|
@if (in_array(auth()->user()->bookmaker_id, [10, 16]))
|
|
@if (auth()->user()->bookmaker_id != 10)
|
|
<x-filament::dropdown.list.item wire:click="swopBookmaker(10)">
|
|
<x-bkm-magloo-nigeria class="h-5 mx-auto" />
|
|
</x-filament::dropdown.list.item>
|
|
@endif
|
|
|
|
@if (auth()->user()->bookmaker_id != 16)
|
|
<x-filament::dropdown.list.item wire:click="swopBookmaker(16)">
|
|
<x-bkm-magloo-kenia class="h-5 mx-auto" />
|
|
</x-filament::dropdown.list.item>
|
|
@endif
|
|
@endif
|
|
|
|
</x-filament::dropdown.list>
|
|
</x-filament::dropdown>
|
|
|
|
{{-- Notifications --}}
|
|
|
|
{{-- <x-filament::modal width="2xl" icon="phosphor-warning-duotone" :close-by-clicking-away="true" :close-by-escaping="true"
|
|
:close-button="true">
|
|
<x-slot name="trigger">
|
|
<x-filament::button outlined icon="phosphor-warning-duotone" class="my-auto" color="gray"
|
|
tooltip="Notifications Settings">
|
|
</x-filament::button>
|
|
</x-slot>
|
|
<x-slot name="heading">
|
|
Notifications Settings
|
|
</x-slot>
|
|
|
|
@livewire('personal-notification-table')
|
|
|
|
</x-filament::modal> --}}
|
|
|
|
{{-- Send Message --}}
|
|
|
|
<x-filament::modal width="2xl" id="send_message_modal" icon="phosphor-paper-plane-tilt-duotone"
|
|
:close-by-clicking-away="true" :close-by-escaping="true" :close-button="true">
|
|
<x-slot name="trigger">
|
|
<x-filament::button outlined icon="phosphor-paper-plane-tilt-duotone" class="my-auto" color="gray"
|
|
tooltip="Send Message">
|
|
</x-filament::button>
|
|
</x-slot>
|
|
<x-slot name="heading">
|
|
Send Message
|
|
</x-slot>
|
|
|
|
@livewire('user-notifications')
|
|
|
|
</x-filament::modal>
|
|
|
|
|
|
{{-- Multiline --}}
|
|
<x-filament::modal width="4xl" icon="phosphor-equals" :close-by-clicking-away="true" :close-by-escaping="true" :close-button="true">
|
|
<x-slot name="trigger">
|
|
<x-filament::button outlined icon="phosphor-equals" color="gray" class="my-auto"
|
|
tooltip="Multiline Settings">
|
|
</x-filament::button>
|
|
</x-slot>
|
|
<x-slot name="heading">
|
|
Multiline Settings
|
|
</x-slot>
|
|
@livewire('multiline-bookmaker')
|
|
</x-filament::modal>
|
|
|
|
{{-- Alarm --}}
|
|
|
|
<x-filament::modal width="4xl" icon="phosphor-siren-duotone" :close-by-clicking-away="true" :close-by-escaping="true"
|
|
:close-button="true">
|
|
<x-slot name="trigger">
|
|
<x-filament::button outlined icon="phosphor-siren-duotone" color="gray" class="my-auto"
|
|
tooltip="Alarm Level Settings">
|
|
</x-filament::button>
|
|
</x-slot>
|
|
|
|
<x-slot name="heading">
|
|
Alarm Level Settings
|
|
</x-slot>
|
|
|
|
@livewire('alarm-bookmaker')
|
|
</x-filament::modal>
|
|
|
|
{{-- Calculation --}}
|
|
|
|
<x-filament::modal slide-over width="4xl" icon="phosphor-sliders" :close-by-clicking-away="true" :close-by-escaping="true"
|
|
:close-button="true">
|
|
<x-slot name="trigger">
|
|
<x-filament::button icon="phosphor-sliders" color="gray" class="my-auto" wire:click="setUser"
|
|
tooltip="Comparing Bookmaker">
|
|
</x-filament::button>
|
|
</x-slot>
|
|
|
|
<x-slot name="heading">
|
|
Comparing Bookmaker
|
|
</x-slot>
|
|
|
|
@livewire('comparing-bookmaker-menu')
|
|
|
|
</x-filament::modal>
|
|
|
|
{{-- Custom Groups --}}
|
|
<x-filament::modal width="4xl" icon="phosphor-user-list" :close-by-clicking-away="true" :close-by-escaping="true"
|
|
:close-button="true">
|
|
<x-slot name="trigger">
|
|
<x-filament::button outlined icon="phosphor-user-list" color="gray" class="my-auto"
|
|
tooltip="Custom Groups">
|
|
</x-filament::button>
|
|
</x-slot>
|
|
|
|
<x-slot name="heading">
|
|
Custom Groups
|
|
</x-slot>
|
|
|
|
@livewire('client-group-list-editor')
|
|
</x-filament::modal>
|
|
@endif
|
|
</div>
|