Skip to content

fix(attendance_request): enhance leave record checks for half-day attendance requests (backport #4549)#4585

Merged
deepeshgarg007 merged 1 commit into
version-16-hotfixfrom
mergify/bp/version-16-hotfix/pr-4549
May 25, 2026
Merged

fix(attendance_request): enhance leave record checks for half-day attendance requests (backport #4549)#4585
deepeshgarg007 merged 1 commit into
version-16-hotfixfrom
mergify/bp/version-16-hotfix/pr-4549

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify Bot commented May 25, 2026

Fixes #4531
Changes:

  • fixed status change for a day which has half-day leave, and the other half is being marked as absent due to auto attendance.
  • It did not let us add an attendance request for the above condition.
Screen.Recording.2026-05-19.at.1.34.19.PM.mov

Summary by CodeRabbit

  • Bug Fixes

    • Improved half-day attendance request handling: absent half-days can now be updated to present and avoid incorrect "unchanged" skips
    • Tightened leave validation to accurately detect approved leave spanning attendance dates, including half-day considerations
    • Better behavior when shift auto-attendance is enabled for missing check-ins
  • Tests

    • Added tests covering half-day absent→present updates and shift auto-attendance half-day scenarios

Review Change Stack


This is an automatic backport of pull request #4549 done by [Mergify](https://mergify.com).

@mergify mergify Bot requested review from asmitahase and ruchamahabal as code owners May 25, 2026 07:01
@deepeshgarg007 deepeshgarg007 merged commit cff4c08 into version-16-hotfix May 25, 2026
11 checks passed
@deepeshgarg007 deepeshgarg007 deleted the mergify/bp/version-16-hotfix/pr-4549 branch May 25, 2026 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants