wip filter
This commit is contained in:
1 parent
c4d7f2e6ee
commit
d2caac4bcc
20 files changed
+567
-119
No files matched your search
@@ -0,0 +1,20 @@
|
||||
<div>
|
||||
@if (auth()->user()->hasRole('konto_switch'))
|
||||
<x-filament::dropdown>
|
||||
<x-slot name="trigger">
|
||||
<x-filament::dropdown.list.item icon="phosphor-baseball-helmet">
|
||||
Swop Client
|
||||
</x-filament::dropdown.list.item>
|
||||
</x-slot>
|
||||
|
||||
<x-filament::dropdown.list>
|
||||
@foreach ($clients as $id => $name)
|
||||
<x-filament::dropdown.list.item wire:click="swopClient({{ $id }})"
|
||||
icon="phosphor-arrow-fat-right">
|
||||
{{ $name }}
|
||||
</x-filament::dropdown.list.item>
|
||||
@endforeach
|
||||
</x-filament::dropdown.list>
|
||||
</x-filament::dropdown>
|
||||
@endif
|
||||
</div>
|
||||
Reference in new issue
Block a user