@extends('layouts.shell') @section('title', 'Players') @section('subtitle', 'Master player records. Search stays on the server so large lists are never loaded at once.') @section('actions') + Add Player @endsection @section('content')
Clear
Players {{ $players->total() }} on this filter · page {{ $players->currentPage() }}
@forelse ($players as $player) @php $profile = $player->playerProfile; @endphp @empty @endforelse
Player Phone Password Shirt Team Status
{{ $player->name }}
{{ $profile?->city?->name }} {{ $profile?->province?->name }}
{{ $player->phone }} @if (filled($player->login_password)) {{ $player->login_password }} @else Not saved yet @endif {{ $profile?->shirt_number ? '#'.$profile->shirt_number : '—' }} {{ $profile?->shirt_size }} {{ $profile?->team?->name ?? '—' }} {{ $player->is_active ? 'Active' : 'Inactive' }} View Edit
@csrf
@csrf @method('DELETE')
No players match this search.
{{ $players->links() }}
@endsection @push('scripts') @endpush