diff --git a/app/Filament/Resources/VehiclesResource/RelationManagers/VehicleOwnerRelationManager.php b/app/Filament/Resources/VehiclesResource/RelationManagers/VehicleOwnerRelationManager.php index a013ecb..0679234 100644 --- a/app/Filament/Resources/VehiclesResource/RelationManagers/VehicleOwnerRelationManager.php +++ b/app/Filament/Resources/VehiclesResource/RelationManagers/VehicleOwnerRelationManager.php @@ -21,7 +21,7 @@ class VehicleOwnerRelationManager extends RelationManager return $form ->schema([ Forms\Components\Select::make('bidder_assigned_number') - ->label('number') + ->label('Number') ->required(), ]); } diff --git a/app/Models/Bidders.php b/app/Models/Bidders.php index e45eaec..ff3b87d 100644 --- a/app/Models/Bidders.php +++ b/app/Models/Bidders.php @@ -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'); } }