kimai / Paid-plugins

Support for paid Kimai plugins: Discussions and feature requests
https://www.kimai.org/store/
11 stars 1 forks source link

Employee account: Feature request for multiple working contracts #133

Open DavidKi opened 9 months ago

DavidKi commented 9 months ago

I am using the employee account plugin since last year and seeing with great pleasure how it develops.

Even it is already listed in the ideas-list I want to post this feature request in order to bring it up as I guess it might be important to others as well.

The problem: We have several employees with part time contracts. From time to time their working contracts are changing and so does their expected working time per day. This is (AFAIK) not possible to implement in the system. The only workaround would be to create manual bookings with each change in the working contract, which could get messy over time.

Possible solution: And option to set an end time for a working contract and to create a new, additional contract with a different expected working time. The calculation of the over/under time should take the several contracts with their specific settings into account.

kevinpapst commented 9 months ago

Meanwhile you can close the previous months, which will write the calculated results (is and should times) into separate database tables. Once all previous month of that year (for the user) are closed, you can change the working contract settings without changing the past values.

HeinzWuert commented 9 months ago

Since now or what version?

HeinzWuert commented 9 months ago

We talked about it today: Multiple employment contracts with changing conditions, saved in an attached, chronological overview list, is the more convenient and clean solution for the HR department! ​

DavidKi commented 9 months ago

Meanwhile you can close the previous months, which will write the calculated results (is and should times) into separate database tables. Once all previous month of that year (for the user) are closed, you can change the working contract settings without changing the past values.

@kevinpapst Thank you for that hint, haven't thought about that. For the meanwhile this will work. For the future I think it still would be more convenient to have the option for several working contracts per user.

@HeinzWuert you can close a month in the working times view. Open the Working Times Tab where you see the daily +/- hours and scroll to the end of the rows, there you have the three-dot-edit-button to close a month.

topsimhick commented 8 months ago

Upvote for this feature. We just bought the plugin (thanks to @kevinpapst for this great tool) and this feature would be outstanding as we will have changes in our weekly work hours in April.

kevinpapst commented 8 months ago

@topsimhick please close previous months, the next release will have a "auto-close all previous moths as well" feature. After that, you can configure new working contract settings.