fix: correcciones parciales - ProjectController, ProfileController, Phase features, project-map JS

This commit is contained in:
2026-05-08 01:16:20 +02:00
parent 156aa14bbb
commit 199fb487c2
5 changed files with 98 additions and 14 deletions
+8
View File
@@ -30,4 +30,12 @@ class Phase extends Model
{
return $this->hasOne(Layer::class)->latestOfMany();
}
/**
* Get all features across all layers of this phase.
*/
public function features()
{
return $this->hasManyThrough(Feature::class, Layer::class);
}
}