@extends('layouts.master') @section('title', 'Wedstrijden') @section('content')
Datum | Tegenstander | {{--Thuis? | --}}Uitslag | MVP | Statistieken | Actie | @auth @if (auth()->user()->role >= 2)Wedstrijd bewerken | @endif @endauth @auth @if (auth()->user()->role >= 2)Statistieken bewerken | @endif @endauth
---|---|---|---|---|---|---|---|---|
{{ \Carbon\Carbon::parse($game->date)->format('d-m') }}
{{ \Carbon\Carbon::parse($game->date)->format('Y') }}
|
{{ $game->opponentTeam->name ?? 'Onbekend' }}
{{ $game->home_game ? 'Thuis' : 'Uit' }}
|
{{-- @if($game->home_game) Thuis @else Uit @endif | --}}{{ $game->result ?? '-' }} | {{ $game->mvp->name ?? '-' }} | Bekijken | @auth@endauth @auth @if (auth()->user()->role >= 2) | Bewerken | @endif @endauth @auth @if (auth()->user()->role >= 2)Bewerken | @endif @endauth
Nog geen wedstrijden gevonden. |