taskresource

main
panliang 2024-05-03 18:29:42 +08:00
parent 75df6f08b3
commit 78065128c5
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@ class TaskHygieneResource extends JsonResource
'status' => $this->task_status,
'status_text' => $this->task_status->text(),
'created_at' => $this->created_at->timestamp,
'created_format' => $this->created_at->format('Y-m-d'),
'store_master_id' => $this->store_master_id,
'store_master' => EmployeeResource::make($this->whenLoaded('storeMaster')),
'workflow_check' => WorkflowCheckResource::make($this->whenLoaded('workflow')),