subtask.title, timeblock is_finished

This commit is contained in:
StudioTem committed 2023-05-22 15:57:16 +02:00
1 parent 34514e44c1
commit f3ed454d6f
5 files changed
+80 -1

No files matched your search

@@ -22,6 +22,7 @@ class SubTaskResource extends JsonResource
'project_code' => ($this->mastertask->project) ? $this->mastertask->project->code : null,
'master_task_id' => $this->mastertask->id,
'master_task' => $this->mastertask->title,
'title' => $this->title,
'team_id' => ($this->mastertask->team) ? $this->mastertask->team->id : null,
'team' => $this->mastertask->team,
'employee_id' => $this->user->id,
@@ -18,6 +18,7 @@ class TimeblockResource extends JsonResource
'id' => $this->id,
'start' => $this->start,
'end' => $this->end,
'is_finished' => $this->is_finished,
];
}