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
|
return $form
|
||||||
->schema([
|
->schema([
|
||||||
Forms\Components\Select::make('bidder_assigned_number')
|
Forms\Components\Select::make('bidder_assigned_number')
|
||||||
->label('number')
|
->label('Number')
|
||||||
->required(),
|
->required(),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
@ -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');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user