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

Add endpoint to add public-holiday task to every employee #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

x-m-el
Copy link
Collaborator

@x-m-el x-m-el commented Dec 23, 2024

This needs the backend change that every employee has their own graph for their timesheet: redpencilio/app-timekeeper#4

Adds an endpoint /populate-public-holidays to add a "public holiday task" worklog to every employee.

Possible extension could be to allow passing the type of task in another endpoint, giving more options for worklog population.

@erikap
Copy link
Member

erikap commented Dec 27, 2024

@x-m-el Can you add a mu-script such that a public holiday can be added via CLI. E.g. mu script admin-jobs add-public-holiday 2024-01-01. Support for 1 date at a time is sufficient.

Something similar is done in the kimai-sync service: redpencilio/timekeeper-kimai-sync-service@a583925

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