This commit is contained in:
Adrian Hopek
2022-04-20 13:24:56 +02:00
parent d6e29affdd
commit 847d929c77
15 changed files with 132 additions and 45 deletions

View File

@@ -14,6 +14,7 @@ class VacationResource extends JsonResource
{
return [
"id" => $this->id,
"user" => new SimpleUserResource($this->user),
"displayDate" => $this->date->toDisplayString(),
"date" => $this->date->toDateString(),
];