mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
no message
This commit is contained in:
1 parent
2eea2be673
commit
300a1ee66b
2 files changed
+2
-2
No files matched your search
@@ -24,7 +24,7 @@ class MasterTaskResource extends JsonResource
|
||||
'is_finished' => $this->is_finished,
|
||||
'starts_at' => $this->created_at,
|
||||
'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,
|
||||
'employees' => UserResource::collection($this->usersOutsideTeam),
|
||||
'subtasks' => SubTaskResource::collection($this->subtasks),
|
||||
|
||||
@@ -19,7 +19,7 @@ class SubTaskResource extends JsonResource
|
||||
'created_by' => $this->created_by,
|
||||
'master_task_description' => $this->mastertask->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' => $this->mastertask->title,
|
||||
'title' => $this->title,
|
||||
|
||||
Reference in new issue
Block a user