fix: sort bidders and enable tom-select for bidder dropdown

This commit is contained in:
2026-05-01 12:49:17 -04:00
parent 0c4df52f83
commit 72362d2d90
2 changed files with 13 additions and 1 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ class PagesController extends Controller
public function checkout(Request $checkout_req)
{
if (!$checkout_req->checkoutbiddernum) {
$bidders = \App\Models\Bidders::all();
$bidders = \App\Models\Bidders::orderBy('bidder_assigned_number')->get();
return view('checkout_select_form', ['bidders' => $bidders]);
} elseif (!$checkout_req->checkout_payment_method) {
$checkout_bidder = $checkout_req->checkoutbiddernum;