Add LeaveTotal property to LeaveRequest DTOs for better leave tracking #2245
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m13s
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m13s
This commit is contained in:
parent
982dfc33d1
commit
4f28b4e9e0
3 changed files with 7 additions and 1 deletions
|
|
@ -1326,7 +1326,8 @@ namespace BMA.EHR.Leave.Service.Controllers
|
|||
FullName = $"{d.Prefix}{d.FirstName} {d.LastName}",
|
||||
LeaveEndDate = d.LeaveEndDate,
|
||||
LeaveStartDate = d.LeaveStartDate,
|
||||
KeycloakId = d.KeycloakUserId
|
||||
KeycloakId = d.KeycloakUserId,
|
||||
LeaveTotal = d.LeaveTotal
|
||||
|
||||
})
|
||||
.ToList();
|
||||
|
|
@ -1750,6 +1751,7 @@ namespace BMA.EHR.Leave.Service.Controllers
|
|||
LeaveRange = item.LeaveRange ?? "ALL",
|
||||
LeaveRangeEnd = item.LeaveRangeEnd ?? "ALL",
|
||||
HajjDayStatus = item.HajjDayStatus,
|
||||
LeaveTotal = item.LeaveTotal
|
||||
};
|
||||
|
||||
result.Add(res);
|
||||
|
|
|
|||
|
|
@ -19,5 +19,7 @@
|
|||
public DateTime LeaveEndDate { get; set; }
|
||||
|
||||
public Guid KeycloakId { get; set; }
|
||||
|
||||
public double LeaveTotal { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -37,5 +37,7 @@
|
|||
public bool? HajjDayStatus { get; set; }
|
||||
|
||||
public string? ProfileType { get; set; }
|
||||
|
||||
public double LeaveTotal { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue