แก้ defect เพิ่มเติม
This commit is contained in:
parent
7556a6c400
commit
56ef47dc2e
5 changed files with 21 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue