Jing Li 2024-05-02 12:07:46 +08:00
parent 90a3e9e6db
commit ca889d288e
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ class WorkflowCheckResource extends JsonResource
'check_status_text' => $this->check_status?->text(),
'checked_at' => $this->checked_at?->getTimestamp(),
'check_remarks' => (string) $this->check_remarks,
'employee' => EmployeeResource::collection($this->whenLoaded('employee')),
'logs' => WorkflowLogResource::collection($this->whenLoaded('logs')),
'subject_id' => $this->subject_id,
'subject_type' => $this->subject_type,