fix รายงานใบลา ข้อมูลแสดงในรายงานแสดงไม่ครบ #2184
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m24s

This commit is contained in:
harid 2026-01-12 17:23:08 +07:00
parent 1c3ce46bcb
commit 90ea986831
2 changed files with 7 additions and 8 deletions

View file

@ -2027,10 +2027,10 @@ namespace BMA.EHR.Leave.Service.Controllers
{
new LeaveRequestApprover
{
Prefix = profile.Prefix,
FirstName = profile.FirstName,
LastName = profile.LastName,
PositionName = profile.Position,
Prefix = profile.Prefix ?? "",
FirstName = profile.FirstName ?? "",
LastName = profile.LastName ?? "",
PositionName = $"{profile.Position ?? ""}{profile.PositionLeaveName ?? ""}",
ProfileId = profile.Id,
KeycloakId = Guid.Parse(UserId!),
ApproveType = "SENDER",