PWA时间表 - 如何限制时间表提交中的每日小时数? [英] PWA Timesheet - How to limit hours per day on timesheet submission?

查看:167
本文介绍了PWA时间表 - 如何限制时间表提交中的每日小时数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我设定了"每天最多小时数"限制为24小时"时间表设置和默认值"并且当用户点击"保存"时它可以工作在"时间表"上查看。 


但是当用户点击"发送"按钮时如果不先保存,它会绕过此限制并使用用户输入的任意小时数保存时间表报告。


有没有办法解决这个问题并限制用户,所以他不会能够每天提交超过24小时吗?



谢谢

解决方案

配置时间表设置和默认值


在每小时报告限制部分,指定时间表中允许的最长和最短小时数以及一天内允许报告的最长小时数。如果团队成员报告的时间超出了这些限制,那么当他们提交
时,错误会显示在他们的时间表上。


将其设为8小时然后检查。



I've set "Maximum Hours per day" limiation to 24 hours on "Timesheet settings and defaults" and it works when a user click "Save" on "Timesheet" view. 

But when the user click "Send" without saving first, it bypasses this limitation and save the timesheet reporting with any amount of hours that the user entered.

Is there any way to solve this and limit the user so he won't be able to submit more than 24 hours per day?

Thanks

解决方案

Under configure timesheet settings and defaults

In the Hourly Reporting Limits section, specify the maximum and minimum hours allowed in a timesheet and the maximum number of hours allowed to be reported in a day. If team members report time beyond these limits, errors appear on their timesheets when they submit them.

make it 8 hours then check.


这篇关于PWA时间表 - 如何限制时间表提交中的每日小时数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆