From a834f2c62eeb0a743057ab1e8aef87a35d62d825 Mon Sep 17 00:00:00 2001 From: Suphonchai Phoonsawat Date: Sun, 24 Dec 2023 22:30:02 +0700 Subject: [PATCH] Change Locatioon to POI --- BMA.EHR.Leave.Service/Controllers/LeaveReportController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BMA.EHR.Leave.Service/Controllers/LeaveReportController.cs b/BMA.EHR.Leave.Service/Controllers/LeaveReportController.cs index 61b615db..46f6b427 100644 --- a/BMA.EHR.Leave.Service/Controllers/LeaveReportController.cs +++ b/BMA.EHR.Leave.Service/Controllers/LeaveReportController.cs @@ -1116,10 +1116,10 @@ namespace BMA.EHR.Leave.Service.Controllers no = count, fullName = fullName, dutyTimeName = $"{duty.StartTimeMorning} น.", - checkInLocation = timeStamps == null ? "" : timeStamps.CheckInLocationName, + checkInLocation = timeStamps == null ? "" : timeStamps.CheckInPOI, checkInTime = timeStamps == null ? "" : $"{timeStamps.CheckIn.ToString("HH:mm")} น.", - checkOutLocation = timeStamps == null ? "" : timeStamps.CheckOutLocationName ?? "", + checkOutLocation = timeStamps == null ? "" : timeStamps.CheckOutPOI ?? "", checkOutTime = timeStamps == null ? "" : timeStamps.CheckOut != null ? $"{timeStamps.CheckOut.Value.ToString("HH:mm")} น." :