Aesthetic Fixes

This commit is contained in:
2026-05-25 17:39:57 +08:00
parent e1cd383ce3
commit 6089bd7efe
32 changed files with 1344 additions and 511 deletions

View File

@@ -43,6 +43,11 @@ class ProjectMilestone extends Model
return $this->belongsTo(Project::class);
}
public function tasks(): \Illuminate\Database\Eloquent\Relations\HasMany
{
return $this->hasMany(Task::class, 'milestone_id');
}
// --- Accessors ---
public function getIsCompletedAttribute(): bool