This commit is contained in:
Adrian Hopek
2022-03-07 15:16:53 +01:00
parent f0355f56d3
commit b11e60ab74
11 changed files with 19 additions and 20 deletions

View File

@@ -18,8 +18,8 @@ class VacationRequestResource extends JsonResource
"user" => new UserResource($this->user),
"type" => $this->type->label(),
"state" => $this->state,
"from" => $this->from->toDisplayDate(),
"to" => $this->to->toDisplayDate(),
"from" => $this->from->toDisplayString(),
"to" => $this->to->toDisplayString(),
"comment" => $this->comment,
"days" => VacationResource::collection($this->vacations),
];