feat: WFH days custom field + daily leave/WFH notifications#3
Merged
Conversation
Issue #1 (Half Day WFH): - Add custom field `custom_total_wfh_days` (Float) on Attendance Request via after_install/after_migrate hooks. - WFH handler now captures total WFH days in this field (0.5 for half day, N for an N-day request) instead of ticking the Half Day checkbox, so the day is no longer split into half present / half absent in attendance. Issue #2 (Leave and WFH Notifier): - Add daily scheduled tasks broadcasting to whitelisted chats: - 10:30 AM: employees on approved leave + employees working from home - 3:00 PM: second WFH reminder - Add broadcast_to_whitelisted_chats helper in telegram_utils. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TUAVgnJYq6C3wZQCttUPfr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue #1 (Half Day WFH):
custom_total_wfh_days(Float) on Attendance Requestvia after_install/after_migrate hooks.
N for an N-day request) instead of ticking the Half Day checkbox, so the
day is no longer split into half present / half absent in attendance.
Issue #2 (Leave and WFH Notifier):
Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01TUAVgnJYq6C3wZQCttUPfr