forked from TFMM/silent-auction
feat: show bidder and vehicle details in carshowscores view
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user