[UPDT] EMPLOYEE: Updated employee profile document tab by adding empty page style

This commit is contained in:
Horilla
2024-03-18 12:30:34 +05:30
parent 7a25ba7817
commit fafef9687f
11 changed files with 118 additions and 45 deletions

View File

@@ -895,7 +895,7 @@ class ShiftRequest(models.Model):
)
if self.is_any_request_exists():
raise ValidationError(
_("A shift request already exists during this time period.")
_("An approved shift request already exists during this time period.")
)
if not self.is_permanent_shift:
if not self.requested_till: