© 2026 Hedgehog Software, LLC
Order.php public function orderStatus() { return $this->belongsTo(OrderStatus::class); }
OrderStatus.php public function order() { return $this->hasMany(Order::class); }
->headerActions([ Tables\Actions\AssociateAction::make()->preloadRecordSelect(), ])
Call to undefined method Illuminate\Database\Eloquent\Relations\HasMany::associate()
Call to undefined method Illuminate\Database\Eloquent\Relations\BelongsTo::getRelatedKeyName()
protected static ?string $inverseRelationship = 'orders';