Feb25 2026: updated import interface - minor change the error message

This commit is contained in:
2026-02-25 13:43:02 -05:00
parent 50206499f3
commit 553adb6293
+1 -2
View File
@@ -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)