@extends('layouts.admin') @section('title', 'Oyunlar') @section('content')

Oyunlar Listesi

@if(request()->hasAny(['search', 'status', 'provider', 'sort'])) Temizle @endif
@forelse($games as $game)
@if($game->cover) {{ $game->game_name ?? 'Oyun' }} @else
@endif
@if($game->status == 1) ✓ @else ✕ @endif
{{ $game->id }}

{{ $game->game_name ?? 'İsimsiz Oyun' }}

{{ Str::limit($game->game_code ?? '-', 8) }}

{{ Str::limit($game->provider->name ?? 'Bilinmeyen', 6) }} {{ $game->created_at ? $game->created_at->format('d.m') : '-' }}
@empty

Oyun bulunamadı

@endforelse
@if($games->hasPages())
Toplam {{ $games->total() }} oyundan {{ $games->firstItem() }}-{{ $games->lastItem() }} arası gösteriliyor
{{ $games->appends(request()->query())->links() }}
@endif
@endsection