@extends('admin.layouts.main.admin_theme') @section('admin_content')

Sport Details

Edit Sport @if ($sport->sportGroup) Back to Group @endif
{{-- Sport Info Card --}}
Normal Logo
{{ $sport->name }} Normal Logo
Square Logo
{{ $sport->name }} Square Logo
Sport Name
{{ $sport->name }}
Short Name
{{ $sport->short_name ?? '—' }}
Slug
{{ $sport->slug }}
Sport Group
{{ $sport->sportGroup?->name ?? 'None' }}
Status
{{ $sport->is_active ? 'Active' : 'Inactive' }}
Sort Order
{{ $sport->sort_order }}
Match Table
{{ $sport->match_table }}
Current Season
{{ $sport->currentSeason?->year ?? ($sport->seasons->first()?->year ?? '—') }}
{{-- Seasons Table --}}
Seasons for {{ $sport->name }}
@forelse ($sport->seasons as $index => $season) @empty @endforelse
No. Year Provider Key Starts On Ends On Current Status
{{ $index + 1 }} {{ $season->year }} {{ $season->provider_key ?? '—' }} {{ $season->starts_on ? \Carbon\Carbon::parse($season->starts_on)->format('d M Y') : '—' }} {{ $season->ends_on ? \Carbon\Carbon::parse($season->ends_on)->format('d M Y') : '—' }} @if ($season->is_current) Current @else — @endif {{ $season->is_active ? 'Active' : 'Inactive' }}
No seasons synced yet for this sport.
@endsection @section('scripts') @endsection