[UPDT] ATTENDANCE: Added __str__ to attendance activity

This commit is contained in:
Horilla
2025-04-28 14:27:02 +05:30
parent 9c454d21d1
commit 4f57990bff

View File

@@ -97,6 +97,9 @@ class AttendanceActivity(HorillaModel):
return time_difference.total_seconds()
def __str__(self):
return f"{self.employee_id} - {self.attendance_date} - {self.clock_in} - {self.clock_out}"
class BatchAttendance(HorillaModel):
"""