This commit is contained in:
Adrian Hopek
2022-01-14 15:09:08 +01:00
parent d4f43421cd
commit 7dca5d1e6c
27 changed files with 871 additions and 150 deletions

View File

@@ -15,7 +15,9 @@ class UserResource extends JsonResource
"name" => $this->name,
"email" => $this->email,
"role" => "Human Resources Manager",
"avatar" => "https://images.unsplash.com/photo-1550525811-e5869dd03032?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80",
"avatar" => asset($this->avatar),
"employmentForm" => $this->employment_form->label(),
"employmentStartDate" => $this->employment_start_date->translatedFormat("j F Y"),
];
}
}