@if ($action === 'list')
@else
@endif
Casino List
@if(session()->has('message'))
{{ $casinos->links() }}
{{ session('message') }}
@endif
| Image | Name | Title | User | Is Featured | Status | Action |
|---|---|---|---|---|---|---|
|
@if($casino->image)
|
{{ $casino->casino_name }} | {{ $casino->title }} | {{ $casino->user?->username }} | @if($casino->is_featured == 1) Featured @elseif($casino->is_featured == 2) Premium @else Normal @endif | @if($casino->is_active) Active @else Inactive @endif | @if($casino->is_active) @else @endif |
{{ $action === 'create' ? 'Add Casino' : 'Edit Casino' }}
@if($activeTab === 'casino')
@include('livewire.admin.partials.casino-form')
@endif
@if($action === 'edit' && $activeTab === 'bonus')
@livewire('admin.bonus', ['casinoId' => $casinoId], key('bonus-'.$casinoId))
@endif
@if($action === 'edit' && $activeTab === 'games')
@livewire('admin.game', ['casinoId' => $casinoId], key('games-'.$casinoId))
@endif
@if($action === 'edit' && $activeTab === 'payment_method')
@livewire('admin.casino-payment-method', ['casinoId' => $casinoId], key('payment_method-'.$casinoId))
@endif