@forelse($matches as $match)
{{ $match->championship->name ?? '' }}
@if($match->homeTeam?->profileId()) {{ $match->homeTeam->name ?? '' }} @else {{ $match->homeTeam->name ?? '' }} @endif @if(in_array($match->status, ['live', 'finished'])) {{ $match->home_score }} - {{ $match->away_score }} {{ $match->match_date->timezone('Africa/Cairo')->format('d/m/Y H:i') }} @else {{ $match->match_date->timezone('Africa/Cairo')->format('H:i') }} {{ $match->match_date->timezone('Africa/Cairo')->format('d/m/Y') }} @endif @if($match->awayTeam?->profileId()) {{ $match->awayTeam->name ?? '' }} @else {{ $match->awayTeam->name ?? '' }} @endif
@empty
لا توجد مباريات.
@endforelse