From bbddc236b13d47f9067ebf3de408028f27851219 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 b6c0e09..e31a751 100644 --- a/Marco.Pms.Services/Controllers/AttendanceController.cs +++ b/Marco.Pms.Services/Controllers/AttendanceController.cs @@ -403,7 +403,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)