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