From 9cd0234665ea66dff172d94b9c1b4cb61b1d25b1 Mon Sep 17 00:00:00 2001 From: Fbenas Date: Sun, 21 Jun 2020 17:58:23 +0100 Subject: Improve robustness of all scripts and add more to sync command --- resources/views/index.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'resources/views') diff --git a/resources/views/index.blade.php b/resources/views/index.blade.php index 0500e96..a322bc6 100644 --- a/resources/views/index.blade.php +++ b/resources/views/index.blade.php @@ -32,9 +32,9 @@ @foreach ($tournament->matches as $match) {{ $match->id }} - {{ $match->homeTeam()->first()->getName() }} + {{ $match->getHomeTeam()->getName() }} {{ $match->score }}
{{$match->half_score}} - {{ $match->awayTeam()->first()->getName() }} + {{ $match->getAwayTeam()->getName() }} {{ $match->getDisplayName() }} {{ $match->referee }} {{ $match->getDisplayDate() }} -- cgit v1.2.3