Dashboard extra column with personal scores
This commit is contained in:
@@ -29,7 +29,8 @@
|
||||
<th scope="col">Team B</th>
|
||||
<th scope="col">Ergebnis</th>
|
||||
<th scope="col">Tipp</th>
|
||||
<th scope="col">Edit</th>
|
||||
<th scope="col">Score</th>
|
||||
<th scope="col">Tippen</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -40,7 +41,8 @@
|
||||
<td>{!! $teams->find($match->teamb)->name !!}</td>
|
||||
<td>{!! $match->resulta . ':' . $match->resultb !!}</td>
|
||||
|
||||
<td>{!! $tipps->where('matchid', 1)->pluck('resulta')->first() . ':' . $tipps->where('matchid', 1)->pluck('resultb')->first() !!}</td>
|
||||
<td>{!! $tipps->where('matchid', $match->id)->pluck('resulta')->first() . ':' . $tipps->where('matchid', $match->id)->pluck('resultb')->first() !!}</td>
|
||||
<td>{!! $tipps->where('matchid', $match->id)->pluck('score')->first() !!}</td>
|
||||
<td>
|
||||
@if($tipps->where('matchid', $match->id)->pluck('resulta')->first() == null)
|
||||
<!-- Edit -->
|
||||
|
Reference in New Issue
Block a user