Skip to content

fix(Employee): only require time capture fields if Employee is of status "Active"#51

Merged
PatrickDEissler merged 1 commit into
version-15from
unrequire-for-inactive-employees
Apr 9, 2026
Merged

fix(Employee): only require time capture fields if Employee is of status "Active"#51
PatrickDEissler merged 1 commit into
version-15from
unrequire-for-inactive-employees

Conversation

@PatrickDEissler

@PatrickDEissler PatrickDEissler commented Apr 9, 2026

Copy link
Copy Markdown
Collaborator

This solves following problematic case:
An Employee is "Inactive". Still an HR user wants to change some statistic fields, then we ask for required fields: Holiday List, Leave Policy Assignment and Expected Working Hours.
These might be empty, because the Employee left the company, before the time capture app was active.

This is especially problematic because changing Expected Working Hours, tries to affect Attendances, which is not possible for inactive Emplyoees.

Solution:
Only make the fields mandatory if the Employee is active.

@PatrickDEissler
PatrickDEissler merged commit eeb00f7 into version-15 Apr 9, 2026
5 checks passed
@PatrickDEissler
PatrickDEissler deleted the unrequire-for-inactive-employees branch April 9, 2026 15:14
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.

1 participant