Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: mark absence for default shift on non-overlapping dates if another shift assignment exists (backport #2602) #2665

Merged
merged 4 commits into from
Jan 20, 2025

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jan 20, 2025

Issue

Employee isn't marked absent for default shift even when checkins are missing, if another shift assignment exists for future dates

Fix

Updated filter to exclude shift assignments starting on future dates.
Added a test case


This is an automatic backport of pull request #2602 done by Mergify.

…ssigned shift exists for the employee but the absent dates aren't overlapping with it

chore: added a test for the case

(cherry picked from commit 0679035)
chore: better test scenario

(cherry picked from commit 83281c6)
…absent_for_dates_with_no_attendance function takes care of which dates to consider for attendance.

(cherry picked from commit 96d5efc)
@mergify mergify bot requested a review from ruchamahabal as a code owner January 20, 2025 05:08
@asmitahase asmitahase merged commit 1d412a9 into version-14-hotfix Jan 20, 2025
8 checks passed
@frappe-pr-bot
Copy link
Collaborator

🎉 This PR is included in version 14.36.3 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants