toggle bettypes
This commit is contained in:
1 parent
21575d799f
commit
739222718a
15 files changed
+132
-78
No files matched your search
@@ -1,15 +1,6 @@
|
||||
<div class="flex gap-4 justify-end">
|
||||
|
||||
@foreach ($multilines as $multiline)
|
||||
@if ($multiline['is_active'] == 1)
|
||||
<x-filament::button>
|
||||
{{ $multiline['short'] }}
|
||||
</x-filament::button>
|
||||
@else
|
||||
<x-filament::button outlined color="gray" tooltip="{{ $multiline['name'] }}"
|
||||
wire:click="swopBettype({{ $multiline['id'] }})">
|
||||
{{ $multiline['short'] }}
|
||||
</x-filament::button>
|
||||
@endif
|
||||
<x-filament::button tooltip="{{ $multiline['name'] }}" wire:click="toggleBettype({{ $multiline['id'] }})"
|
||||
wire:dispatch="refreshTable" :color="!$multiline['is_active'] ? 'gray' : 'primary'"> {{ $multiline['short'] }} </x-filament::button>
|
||||
@endforeach
|
||||
</div>
|
||||
Reference in new issue
Block a user