feat: show bidder and vehicle details in carshowscores view

This commit is contained in:
2026-05-01 15:54:08 -04:00
parent 2512c27904
commit a2ce8a51fe
2 changed files with 12 additions and 4 deletions
+10 -2
View File
@@ -20,14 +20,22 @@
<table class="table table-vcenter card-table">
<thead>
<tr>
<th>Vehicle Name</th>
<th>#</th>
<th>Owner</th>
<th>Year</th>
<th>Make</th>
<th>Model</th>
<th>Total Score</th>
</tr>
</thead>
<tbody>
@foreach($scores_results as $score)
<tr>
<td>{{ $score->scoredVehicle->make }} {{ $score->scoredVehicle->model }}</td>
<td>{{ $score->scoredVehicle->owner }}</td>
<td>{{ $score->scoredVehicle->vehicleOwner->bidder_fname ?? '' }} {{ $score->scoredVehicle->vehicleOwner->bidder_lname ?? '' }}</td>
<td>{{ $score->scoredVehicle->year }}</td>
<td>{{ $score->scoredVehicle->make }}</td>
<td>{{ $score->scoredVehicle->model }}</td>
<td>{{ $score->totalscore }}</td>
</tr>
@endforeach