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
->schema([
Forms\Components\Select::make('bidder_assigned_number')
->label('number')
->label('Number')
->required(),
]);
}

View File

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