work on fixing bidders and vehicles filament
This commit is contained in:
parent
bc6f3c05d8
commit
8f95e68e61
@ -21,7 +21,7 @@ class VehicleOwnerRelationManager extends RelationManager
|
||||
return $form
|
||||
->schema([
|
||||
Forms\Components\Select::make('bidder_assigned_number')
|
||||
->label('number')
|
||||
->label('Number')
|
||||
->required(),
|
||||
]);
|
||||
}
|
||||
|
@ -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');
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user