schema([ Forms\Components\Select::make('winning_bidder_num') ->label('Winning Bidder Number') ->options(Bidders::pluck('bidder_assigned_number', 'idbidders')) ->searchable(), ]); } public static function table(Table $table): Table { return $table ->columns([ Tables\Columns\TextColumn::make('items.item_assigned_num') ->label('Item Number') ->sortable(), Tables\Columns\TextColumn::make('bidders.winning_bidder_num') ->label('Bidder Number') ->sortable(), Tables\Columns\TextColumn::make('winning_cost') ->label('Winning Bid Amt') ->money('usd', 'true') ->sortable(), ]) ->filters([ // ]) ->headerActions([ Tables\Actions\CreateAction::make(), ]) ->actions([ Tables\Actions\EditAction::make(), Tables\Actions\DeleteAction::make(), ]) ->bulkActions([ Tables\Actions\DeleteBulkAction::make(), ]); } }