@extends('layouts.shell') @section('title', $player->name) @section('subtitle', 'Player profile') @section('actions') Edit
All players @endsection @section('content') @php $profile = $player->playerProfile; @endphp{{ $profile?->city?->name ?? '—' }} · {{ $profile?->province?->name ?? '—' }} · {{ $player->is_active ? 'Active' : 'Inactive' }}
Phone: {{ $player->phone }}
@if ($profile?->whatsapp) · WhatsApp: {{ $profile->whatsapp }} @endif
Shirt {{ $profile?->shirt_number ? '#'.$profile->shirt_number : '—' }} · {{ $profile?->shirt_size ?? '—' }}
Team: @if ($profile?->team) {{ $profile->team->name }} @else Not on a team @endif
@if (filled($player->login_password))Account password: {{ $player->login_password }}
Created {{ $player->created_at?->format('d M Y H:i') }} @if ($profile?->createdBy) by {{ $profile->createdBy->name }} @endif · Updated {{ $player->updated_at?->format('d M Y H:i') }}
| Tournament | Team |
|---|---|
| @if ($assignment->tournament) {{ $assignment->tournament->title }} @else — @endif | {{ $assignment->team?->name ?? '—' }} |
| Not assigned to a tournament yet. | |