From 167da8146c50983e2b2c08d972b360daea52792e Mon Sep 17 00:00:00 2001 From: "ashutosh.nehete" Date: Wed, 7 May 2025 12:23:44 +0530 Subject: [PATCH] In the Attendance Log table, the UpdatedBy field was incorrectly recording the employee whose attendance was marked, rather than the actual user who performed the update, fixed this issue in this commit --- Marco.Pms.Services/Controllers/AttendanceController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marco.Pms.Services/Controllers/AttendanceController.cs b/Marco.Pms.Services/Controllers/AttendanceController.cs index baa7ce7..73fe2f5 100644 --- a/Marco.Pms.Services/Controllers/AttendanceController.cs +++ b/Marco.Pms.Services/Controllers/AttendanceController.cs @@ -448,7 +448,7 @@ namespace MarcoBMS.Services.Controllers Longitude = recordAttendanceDot.Longitude, TenantId = TenantId, - UpdatedBy = recordAttendanceDot.EmployeeID, + UpdatedBy = currentEmployee.Id, UpdatedOn = recordAttendanceDot.Date }; //if (recordAttendanceDot.Image != null && recordAttendanceDot.Image.Count > 0)