fix: update carshowwinners view to use correct variable and relationships

This commit is contained in:
2026-05-01 15:25:11 -04:00
parent 4893550e2a
commit 9ed1765c73
+2 -2
View File
@@ -26,8 +26,8 @@
<tbody> <tbody>
@foreach($winners as $winner) @foreach($winners as $winner)
<tr> <tr>
<td>{{ $winner->category->cat_name }}</td> <td>{{ $winner->awardCategory->cat_name }}</td>
<td>{{ $winner->vehicles->make }} {{ $winner->vehicles->model }}</td> <td>{{ $winner->awardVehicle->make }} {{ $winner->awardVehicle->model }}</td>
</tr> </tr>
@endforeach @endforeach
</tbody> </tbody>