Within time tracking settings, there is an option to deduct a mandatory break from an employee when they have worked a certain time, for example, deduct 30 mins when an employee has worked 300 minutes. You can access these settings by going to
Admin > Company > Settings > Time tracking settings
When you create a working pattern template Admin > HR > Working Patterns and you specify this to be time based
The above rule that you have set will now be applied to the calculation of the shift.
For example, if you create a shift from 0800 to 1200 and have set your "Minimum breaks duration" to 30 and "Breaks day length threshold" to 300 then this would calculate as 4 hours - no break is deducted as the threshold has not been met.
Please note: However, if you create a shift from 0800 to 1700 and use the same settings (30 minutes break after 300 minutes) this would calculate as 8.5 hours as 30 minutes (or half an hour) is removed from the total time of 9 hours as it is greater than 300 minutes
In the below example, i will be using an employee called Daniel Parker. I have taken the above steps and set the below options within my time tracking settings.
I have then created a start and end time working patter to show 09.00-18.00 Monday, 09.00-18.00 Tuesday and 10.00-17.00 on Wednesday. Without the above setting this would reflect i work 9 hours on a Monday & Tuesday and 7 Hours on a Wednesday
I have then applied the above working patter to Daniel Parker, as per below screenshot, as you can see highlighted in yellow, the values have deducted the 30 mins from my settings.
If i then go into book time off for Daniel and booked of the 27th May, you can see from the below that it calculates the 6.5 hours