This commit is contained in:
Bright 2025-03-12 10:26:47 +07:00
parent 123501378b
commit 2a6bef472b

View file

@ -1362,7 +1362,7 @@ namespace BMA.EHR.Leave.Service.Controllers
{
dateTimeStamp = $"ณ วัน{req.StartDate.Date.GetThaiDayOfWeek()} ที่ {req.StartDate.Date.ToThaiShortDate()}{enddate}",
organizationName = profile?.FirstOrDefault()?.Oc ?? "",
officerTotal = profile.Count,
officerTotal = profile?.Count,
workTotal = workTotal,
restTotal = restTotal,
sickTotal = sickTotal,
@ -1370,6 +1370,7 @@ namespace BMA.EHR.Leave.Service.Controllers
wfhTotal = wfhTotal,
seminarTotal = seminarTotal,
studyTotal = studyTotal,
type = type.Trim().ToUpper() == "OFFICER" ? "ข้าราชการทั้งหมด" : "ลูกจ้างประจำทั้งหมด",
employees = employees
};
//วันที่ออก