main
Jing Li 2024-05-02 12:09:02 +08:00
parent ca889d288e
commit 706985fd77
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +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')),
'employee' => EmployeeResource::make($this->whenLoaded('employee')),
'logs' => WorkflowLogResource::collection($this->whenLoaded('logs')),
'subject_id' => $this->subject_id,
'subject_type' => $this->subject_type,