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

Don't send mail to warn user fill timesheet (weekend and holiday) #206

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bport
Copy link
Contributor

@bport bport commented Feb 23, 2025

No description provided.

@bport bport force-pushed the dont_send_timesheet_mail_we branch from dab2129 to bc814bf Compare February 23, 2025 22:22
@bport bport changed the title Don't send mail to fill timesheet weekend and holiday Don't send mail to warn user fill timesheet (weekend and holiday) Feb 23, 2025
@bport bport marked this pull request as ready for review February 23, 2025 22:23
Copy link
Owner

@digitalfox digitalfox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The same code already exists here (except the async decorator)

def outside_business_hours():

Even if the business rules if quite simple it may be better to factorize it (staffing/utils.py maybe ?)

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