forked from TFMM/silent-auction
fix: resolve cat_name exception and correct model relationships
This commit is contained in:
@@ -21,16 +21,14 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Vehicle Name</th>
|
||||
<th>Judge</th>
|
||||
<th>Score</th>
|
||||
<th>Total Score</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($scores_results as $score)
|
||||
<tr>
|
||||
<td>{{ $score->vehicles->make }} {{ $score->vehicles->model }}</td>
|
||||
<td>{{ $score->judges->judge_name }}</td>
|
||||
<td>{{ $score->score }}</td>
|
||||
<td>{{ $score->scoredVehicle->make }} {{ $score->scoredVehicle->model }}</td>
|
||||
<td>{{ $score->totalscore }}</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
|
||||
Reference in New Issue
Block a user