no message

This commit is contained in:
StudioTem committed 2023-08-23 14:53:59 +02:00
1 parent 2eea2be673
commit 300a1ee66b
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ class MasterTaskResource extends JsonResource
'is_finished' => $this->is_finished, 'is_finished' => $this->is_finished,
'starts_at' => $this->created_at, 'starts_at' => $this->created_at,
'deadline' => $this->deadline, 'deadline' => $this->deadline,
'project_code' => ($this->project) ? $this->project->code : null, 'project_code' => ($this->project) ? $this->project->code . ' ' . $this->project->name : null,
'team' => ($this->team) ?: null, 'team' => ($this->team) ?: null,
'employees' => UserResource::collection($this->usersOutsideTeam), 'employees' => UserResource::collection($this->usersOutsideTeam),
'subtasks' => SubTaskResource::collection($this->subtasks), 'subtasks' => SubTaskResource::collection($this->subtasks),
+1 -1
View File
@@ -19,7 +19,7 @@ class SubTaskResource extends JsonResource
'created_by' => $this->created_by, 'created_by' => $this->created_by,
'master_task_description' => $this->mastertask->description, 'master_task_description' => $this->mastertask->description,
'description' => $this->description, 'description' => $this->description,
'project_code' => ($this->mastertask->project) ? $this->mastertask->project->code : null, 'project_code' => ($this->mastertask->project) ? $this->mastertask->project->code . ' ' . $this->mastertask->project->name : null,
'master_task_id' => $this->mastertask->id, 'master_task_id' => $this->mastertask->id,
'master_task' => $this->mastertask->title, 'master_task' => $this->mastertask->title,
'title' => $this->title, 'title' => $this->title,