fix issue #1234
This commit is contained in:
parent
123501378b
commit
2a6bef472b
1 changed files with 2 additions and 1 deletions
|
|
@ -1362,7 +1362,7 @@ namespace BMA.EHR.Leave.Service.Controllers
|
||||||
{
|
{
|
||||||
dateTimeStamp = $"ณ วัน{req.StartDate.Date.GetThaiDayOfWeek()} ที่ {req.StartDate.Date.ToThaiShortDate()}{enddate}",
|
dateTimeStamp = $"ณ วัน{req.StartDate.Date.GetThaiDayOfWeek()} ที่ {req.StartDate.Date.ToThaiShortDate()}{enddate}",
|
||||||
organizationName = profile?.FirstOrDefault()?.Oc ?? "",
|
organizationName = profile?.FirstOrDefault()?.Oc ?? "",
|
||||||
officerTotal = profile.Count,
|
officerTotal = profile?.Count,
|
||||||
workTotal = workTotal,
|
workTotal = workTotal,
|
||||||
restTotal = restTotal,
|
restTotal = restTotal,
|
||||||
sickTotal = sickTotal,
|
sickTotal = sickTotal,
|
||||||
|
|
@ -1370,6 +1370,7 @@ namespace BMA.EHR.Leave.Service.Controllers
|
||||||
wfhTotal = wfhTotal,
|
wfhTotal = wfhTotal,
|
||||||
seminarTotal = seminarTotal,
|
seminarTotal = seminarTotal,
|
||||||
studyTotal = studyTotal,
|
studyTotal = studyTotal,
|
||||||
|
type = type.Trim().ToUpper() == "OFFICER" ? "ข้าราชการทั้งหมด" : "ลูกจ้างประจำทั้งหมด",
|
||||||
employees = employees
|
employees = employees
|
||||||
};
|
};
|
||||||
//วันที่ออก
|
//วันที่ออก
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue