Internship/Thesis Settings / Internship/Thesis Settings / Internship and Thesis / Internship Settings / Allow Late Attendance submission by Students only x days after the due date
Here, you define the maximum number of days after the due date that a student can submit attendance for Internship/Thesis. (Please note that if set to 0 then there is no limit)
Example
Setting -> 5 (Student can submit attendance for up to 5 days before the present date)
Setting -> 2 (Student is not able to submit attendance for that date any more since more than 2 days have passed)