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

Weekly-Hours is blocked if lockdown is active in selected week #4703

Open
3 tasks done
sj-patel opened this issue Mar 15, 2024 · 0 comments
Open
3 tasks done

Weekly-Hours is blocked if lockdown is active in selected week #4703

sj-patel opened this issue Mar 15, 2024 · 0 comments
Labels

Comments

@sj-patel
Copy link

Describe the issue

With the following preconditions, a user is not able to create a timesheet:

Preconditions

  1. create_own_timesheet is turned off for a user - to disable the start/stop button
  2. global lockdown period start/end has been configured in our case: lockdown start: epoch, end: last day of last month
  3. condition The end of the month happens during the working week (for example: March 1st, 2024 happed on Friday)
  4. The user uses Weekly Hours to create a timesheet.

Given the above conditions, when a user attempts to create a timesheet for days allowed (not blocked by lockdown settings), the user gets error messages for locked days for that week. (screenshot attached)

I already tried

Kimai version

2.0 latest docker

How do you run Kimai?

Docker

Which PHP version are you using?

8.1

Logfile

No response

Screenshots

image
@sj-patel sj-patel added the bug label Mar 15, 2024
@kevinpapst kevinpapst changed the title Error creating timesheet Weekly-Hours is blocked if lockdown is active in selected week Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant