Skip to content

Commit

Permalink
Merge pull request #624 from SSWConsulting/621_add_work_hours_to_prof…
Browse files Browse the repository at this point in the history
…ile_card

Add work hours to profile card
  • Loading branch information
AttackOnMorty authored Sep 7, 2023
2 parents d6f05a0 + 64d8221 commit 4a52ec1
Show file tree
Hide file tree
Showing 5 changed files with 440 additions and 360 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ private EmployeeProfileWithStatusModel ConvertToProfile(GetEmployeeModel employe
LastSeenAt = employee.LastSeenAt,
LastSeenTime = EmployeesHelper.GetLastSeen(employee),
LastSeenPhoneDevice = EmployeesHelper.GetLastSeenPhoneDevice(employee),
WorkHours = employee.WorkHours,
Skills = employee.Skills,
EmailAddress = employee.EmailAddress,
MobilePhone = employee.MobilePhone,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ public class EmployeeProfileWithStatusModel
[JsonProperty("lastSeenPhoneDevice")]
public string LastSeenPhoneDevice { get; set; }

[JsonProperty("workHours")]
public string WorkHours { get; set; }

[JsonProperty("skills")]
public List<GetSkillModel> Skills { get; set; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public class GetEmployeeModel
public string AboutMeAudioUrl { get; set; }
public string PublicPhotoAlbumUrl { get; set; }
public int? EmployeeCategory { get; set; }
public string WorkHours { get; set; }
public string Title { get; set; }
public ProfileCategory? ProfileCategory { get; set; }

Expand Down
Loading

0 comments on commit 4a52ec1

Please sign in to comment.