Added AutoApprove button for automatic approval of submitted and breaktime-conforming approvals#86
Conversation
|
By the way, you can make tests with phpunit: |
|
Hi Luis, thanks a lot for your PR - I hope to be able to have a closer look at it next Thursday. |
Feat/working time act ger $3 Overview
|
I added also an overview for this german law: https://www.gesetze-im-internet.de/arbzg/__3.html.
Let me know, if something is not okay or buggy. Thank you |
|
Hi Luis, I didn't had time to test. Please feel free to do a new PR when you figured out the issue and are happy with the result. :) I think this functionality would be a nice addition. Thanks |
|
I checked the error, it didn't had to with the plugin. Thank you. Let me know if something isn't fine. |




I added an autoApprove button, which can approve all approvals shown in the table, if their status is submitted.
If there is a breaktimeissue in one approval, the autoapprove for this particular approval will fail. If there are no breaktimeissues or the breaktimeissue isn't activated, it will suceed.
Additionally i created a little spinner while waiting for approving.
I also wrote some unit tests to the function i introduced.