feat: expand checkout_complete_list with items won

This commit is contained in:
2026-05-01 15:23:34 -04:00
parent 92da95bdff
commit 8d138e22b7
@@ -21,6 +21,7 @@
<tr> <tr>
<th>Bidder #</th> <th>Bidder #</th>
<th>Name</th> <th>Name</th>
<th>Items Won</th>
<th>Total</th> <th>Total</th>
<th>Payment</th> <th>Payment</th>
</tr> </tr>
@@ -30,6 +31,11 @@
<tr> <tr>
<td>{{ $c->bidder_assigned_number }}</td> <td>{{ $c->bidder_assigned_number }}</td>
<td>{{ $c->bidder_fname }} {{ $c->bidder_lname }}</td> <td>{{ $c->bidder_fname }} {{ $c->bidder_lname }}</td>
<td>
@foreach(\App\Models\WinningBids::with('items')->where('winning_bidder_num', $c->bidder_num)->get() as $bid)
{{ $bid->items->item_desc ?? 'N/A' }}<br>
@endforeach
</td>
<td>${{ number_format($c->winnertotal, 2) }}</td> <td>${{ number_format($c->winnertotal, 2) }}</td>
<td>{{ $c->payment_method == 1 ? 'Cash' : ($c->payment_method == 2 ? 'Check' : 'Credit') }}</td> <td>{{ $c->payment_method == 1 ? 'Cash' : ($c->payment_method == 2 ? 'Check' : 'Credit') }}</td>
</tr> </tr>