more resource setup

This commit is contained in:
2022-09-28 07:52:27 -04:00
parent ef96dc7cd8
commit a13c9be41c
4 changed files with 52 additions and 8 deletions

View File

@ -20,9 +20,20 @@ class BiddersRelationManager extends RelationManager
{
return $form
->schema([
Forms\Components\TextInput::make('bidder_num')
Forms\Components\Select::make('bidder_num')
->label('Number')
->required()
->maxLength(255),
->createOptionForm([
Forms\Components\TextInput::make('bidder_fname')->label('First Name'),
Forms\Components\TextInput::make('bidder_lname')->label('Last Name'),
Forms\Components\TextInput::make('bidder_addr')->label('Address'),
Forms\Components\TextInput::make('bidder_city')->label('City'),
Forms\Components\TextInput::make('bidder_state')->label('State'),
Forms\Components\TextInput::make('bidder_zip')->label('Zip'),
Forms\Components\TextInput::make('bidder_phone')->label('Phone Number'),
Forms\Components\TextInput::make('bidder_email')->label('Email'),
Forms\Components\TextInput::make('bidder_assigned_number')->label('Assigned Number'),
]),
]);
}
@ -30,7 +41,9 @@ class BiddersRelationManager extends RelationManager
{
return $table
->columns([
Tables\Columns\TextColumn::make('bidder_num'),
Tables\Columns\TextColumn::make('bidder_fname')->label('First Name'),
Tables\Columns\TextColumn::make('bidder_lname')->label('Last Name'),
Tables\Columns\TextColumn::make('bidder_assigned_number')->label('Number'),
])
->filters([
//