work on fixing bidders and vehicles filament

This commit is contained in:
Russ Long 2022-09-03 12:49:20 -04:00
parent bc6f3c05d8
commit 8f95e68e61
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ class VehicleOwnerRelationManager extends RelationManager
return $form return $form
->schema([ ->schema([
Forms\Components\Select::make('bidder_assigned_number') Forms\Components\Select::make('bidder_assigned_number')
->label('number') ->label('Number')
->required(), ->required(),
]); ]);
} }

View File

@ -38,6 +38,6 @@ class Bidders extends Model
public function vehicles() public function vehicles()
{ {
return $this->hasMany('App\Models\Vehicles', 'owner', 'bidder_assigned_number'); return $this->hasMany(Vehicles::class, 'owner', 'bidder_assigned_number');
} }
} }