@extends('layouts.shell') @section('title', $team->name) @section('subtitle', 'Team profile') @section('actions') Edit All teams @endsection @section('content')
{{ $team->city?->name ?? '—' }} · {{ $team->province?->name ?? '—' }} · {{ $team->is_active ? 'Active' : 'Inactive' }}
{{ $team->description ?: 'No description.' }}
{{ $team->contact_person ?: 'No contact' }} @if ($team->mobile) · {{ $team->mobile }} @endif @if ($team->email) · {{ $team->email }} @endif
Created {{ $team->created_at?->format('d M Y H:i') }} @if ($team->createdBy) by {{ $team->createdBy->name }} @endif · Updated {{ $team->updated_at?->format('d M Y H:i') }} @if ($team->updatedBy) by {{ $team->updatedBy->name }} @endif
| Player | Phone | Status |
|---|---|---|
| @if ($profile->user) {{ $profile->user->name }} @else — @endif | {{ $profile->user?->phone ?? '—' }} | {{ $profile->user?->is_active ? 'Active' : 'Inactive' }} |
| No players on this team. | ||
| Tournament | Status |
|---|---|
| {{ $tournament->title }} | {{ ucfirst($tournament->status?->value ?? '') }} |
| This team is not assigned to a tournament yet. | |