This commit is contained in:
Adrian Hopek
2022-02-08 15:04:32 +01:00
parent 26a6d81dc2
commit 09b95602da
8 changed files with 234 additions and 143 deletions

View File

@@ -17,7 +17,7 @@ class VacationRequestResource extends JsonResource
"name" => $this->name,
"user" => new UserResource($this->user),
"type" => $this->type->label(),
"state" => $this->state->label(),
"state" => $this->state,
"from" => $this->from->toDisplayString(),
"to" => $this->to->toDisplayString(),
"comment" => $this->comment,