winning bids fix
This commit is contained in:
parent
eb2dee7c13
commit
b51e56ff6f
@ -9,6 +9,7 @@ use Filament\Resources\Table;
|
||||
use Filament\Tables;
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
use Illuminate\Database\Eloquent\SoftDeletingScope;
|
||||
use App\Models\Bidders;
|
||||
|
||||
class WinningBidsRelationManager extends RelationManager
|
||||
{
|
||||
@ -20,9 +21,13 @@ class WinningBidsRelationManager extends RelationManager
|
||||
{
|
||||
return $form
|
||||
->schema([
|
||||
Forms\Components\TextInput::make('winning_bidder_num')
|
||||
/*Forms\Components\TextInput::make('winning_bidder_num')
|
||||
->required()
|
||||
->maxLength(255),
|
||||
->maxLength(255),*/
|
||||
Forms\Components\Select::make('winning_bidder_num')
|
||||
->label('Winning Bidder Number')
|
||||
->options(Bidders::pluck('bidder_assigned_number', 'idbidders'))
|
||||
->searchable(),
|
||||
]);
|
||||
}
|
||||
|
||||
@ -33,7 +38,7 @@ class WinningBidsRelationManager extends RelationManager
|
||||
Tables\Columns\TextColumn::make('items.item_assigned_num')
|
||||
->label('Item Number')
|
||||
->sortable(),
|
||||
Tables\Columns\TextColumn::make('bidders.idbidders')
|
||||
Tables\Columns\TextColumn::make('bidders.winning_bidder_num')
|
||||
->label('Bidder Number')
|
||||
->sortable(),
|
||||
Tables\Columns\TextColumn::make('winning_cost')
|
||||
|
Loading…
Reference in New Issue
Block a user