@foreach($tournament->rounds as $round)
@foreach($matches->where('round_id',$round->id) as $index=>$match)
@if($match->winner_id==0)
{{$match->start_time!=null ? date('d.m.Y H:i',strtotime($match->start_time)): ""}}
@endif
@endforeach
@if($round->round
rounds))
@while($k
where('round_id',$round->id))/2)
@endwhile
@endif
@endforeach