@props([ 'match', 'type' => 'past', 'showStreak' => true ]) @php $dateFormatted = \Carbon\Carbon::parse($match->time->starting_at->date_time)->format('Y.m.d'); $isPast = $type === 'past'; @endphp {{-- Home Team --}} {{ $dateFormatted }} {{ $match->localTeam->data->name }}
1-1 @if($isPast) @endif
1-0 @if($isPast) @endif
2-1 @if($isPast) @endif
{{-- Away Team --}} @if($showStreak && $isPast) Sorozat: {{ $match->streak_number ?? '-' }} @endif {{ $match->visitorTeam->data->name }} {{-- Result (past only) --}} @if($isPast) {{ $match->scores->localteam_score ?? 0 }} - {{ $match->scores->visitorteam_score ?? 0 }} @endif {{-- Round --}} @if(isset($match->round)) {{ $match->round->data->name ?? '-' }} @endif {{-- Date/Time --}} {{ $match->time->starting_at->date_time }} {{-- Streak (past only, desktop) --}} @if($showStreak && $isPast) {{ $match->streak_number ?? '-' }} @endif {{-- 1:1 Filter --}} @if($isPast) @endif {{-- 1:0 Filter --}} @if($isPast) @endif {{-- 2:1 Filter --}} @if($isPast) @endif