แก้ defect เพิ่มเติม

This commit is contained in:
Suphonchai Phoonsawat 2024-01-05 16:46:52 +07:00
parent 7556a6c400
commit 56ef47dc2e
5 changed files with 21 additions and 2 deletions

View file

@ -756,6 +756,8 @@ namespace BMA.EHR.Leave.Service.Controllers
"LATE" :
"NORMAL",
CheckInDescription = d.CheckInRemark ?? "",
IsLocationCheckIn = d.IsLocationCheckIn,
CheckInLocationName = d.CheckInLocationName ?? "",
CheckOutDate = d.CheckOut == null ? null : d.CheckOut.Value.Date,
CheckOutTime = d.CheckOut == null ? "" : d.CheckOut.Value.ToString("HH:mm"),
@ -773,6 +775,9 @@ namespace BMA.EHR.Leave.Service.Controllers
"ABSENT" :
"NORMAL",
CheckOutDescription = d.CheckOutRemark ?? "",
IsLocationCheckOut = d.IsLocationCheckOut,
CheckOutLocationName = d.CheckOutLocationName ?? ""
};
return Success(result);