fix #1511 และเปลี่ยน Env เพิ่ม VITE_URL_MGT
This commit is contained in:
parent
0b407f3c68
commit
48baf99adf
4 changed files with 9 additions and 6 deletions
|
|
@ -152,7 +152,7 @@ namespace BMA.EHR.Leave.Service.Controllers
|
|||
|
||||
var lastLeaveRequest =
|
||||
await _leaveRequestRepository.GetLastLeaveRequestByTypeForUserAsync(data.KeycloakUserId,
|
||||
data.Type.Id);
|
||||
data.Type.Id, data.LeaveStartDate.Date);
|
||||
|
||||
//var rootOc = _userProfileRepository.GetRootOcId(profile.OcId ?? Guid.Empty, AccessToken);
|
||||
//var approver = string.Empty;
|
||||
|
|
@ -593,7 +593,7 @@ namespace BMA.EHR.Leave.Service.Controllers
|
|||
child3 = profileLeave.Child3 == null ? "" : profileLeave.Child3!.ToThaiNumber(),
|
||||
child4 = profileLeave.Child4 == null ? "" : profileLeave.Child4!.ToThaiNumber(),
|
||||
|
||||
positions = profileLeave.Positions.Select(x => new
|
||||
positions = profileLeave.Positions.Select(x => new
|
||||
{
|
||||
positionName = x.PositionName == null ? "" : x.PositionName.ToThaiNumber(),
|
||||
dateStart = x.DateStart.ToThaiShortDate().ToThaiNumber(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue