winning bids bidder select

This commit is contained in:
Russ Long 2023-03-16 13:16:40 -04:00
parent 082c110616
commit e6e49ddfcb

View File

@ -40,7 +40,10 @@ class WinningBidsResource extends Resource
->searchable(), ->searchable(),
Select::make('winning_bidder_num') Select::make('winning_bidder_num')
->label('Bidder') ->label('Bidder')
->options(Bidders::all()->pluck('bidder_assigned_number', 'idbidders')) ->options(
Bidders::orderBy('bidder_assigned_number')
->pluck('bidder_assigned_number', 'idbidders')
))
->searchable(), ->searchable(),
TextInput::make('winning_cost') TextInput::make('winning_cost')
->label('Winning Bid') ->label('Winning Bid')