diff --git a/backend/timed/employment/models.py b/backend/timed/employment/models.py index 5925b1df2..92e03616b 100644 --- a/backend/timed/employment/models.py +++ b/backend/timed/employment/models.py @@ -133,7 +133,7 @@ class AbsenceCredit(models.Model): """ def __str__(self) -> str: - return f"{self.user.username} ({self.duration})" + return f"{self.user.username} ({self.days} days)" class OvertimeCredit(models.Model):