#1384
Some checks failed
release-dev / release-dev (push) Failing after 11s

This commit is contained in:
AdisakKanthawilang 2025-05-06 12:05:33 +07:00
parent 2240c383c7
commit 23b6070785

View file

@ -1649,9 +1649,9 @@ namespace BMA.EHR.Leave.Service.Controllers
fullName = fullName,
dutyTimeName = $"{duty.StartTimeMorning} - {duty.EndTimeAfternoon} น.",
checkInLocation = p.CheckInPOI,
checkInTime = $"{checkIn?.ToString("HH:mm") ?? ""} น.",
checkInTime = checkIn?.ToString("HH:mm") is string timeIn ? $"{timeIn} น." : "",
checkOutLocation = p.CheckOutPOI ?? "",
checkOutTime = $"{checkOut?.ToString("HH:mm") ?? ""} น.",
checkOutTime = checkOut?.ToString("HH:mm") is string timeOut ? $"{timeOut} น." : "",
remark = "",
checkInDate = checkIn?.ToThaiFullDate2()?.ToThaiNumber() ?? "",
checkedOutDate = checkOut?.ToThaiFullDate2()?.ToThaiNumber() ?? "",