From 553adb629386c73e3d76270f54598980a0121bd3 Mon Sep 17 00:00:00 2001 From: NguyenND Date: Wed, 25 Feb 2026 13:43:02 -0500 Subject: [PATCH] Feb25 2026: updated import interface - minor change the error message --- time_attendance_import_service.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/time_attendance_import_service.py b/time_attendance_import_service.py index 9533a90..33ee223 100644 --- a/time_attendance_import_service.py +++ b/time_attendance_import_service.py @@ -680,8 +680,7 @@ class TimeAttendanceImportService: project_obj = Project.query.get(project_id) project_name = project_obj.name if project_obj else f'ID {project_id}' error_msg = ( - f"Location '{unmatched}' in the file does not belong to " - f"project '{project_name}'. " + f"The data in the file does not belong to the project '{project_name}'. " f"Please verify the selected project or correct the file." ) import_results['errors'].append(error_msg)