According to API, there just one way to set day working time for days routine using "dayWorkingTime". But in our project we need to set this working times different by day and if possible by resource.
For example, if we have 3 shifts on a company:
1º : 5 to 14
2º : 14 to 23
3º : 23 to 5
In this case if a company works all week days non stop, i can use "dayWorkingTime" 0 to 24 and "workWeek" to set all days.
But on our case the 1º and 2º shifts do not work on weekends, but the 3º in some way does. I need to be able to set "dayWorkingTime" different on each workday, doing that i can set monday to friday 0 to 24, saturday 0 to 5 and sunday 23 to 0.
Another scenario is that we can have different breaks during the day by each resource on different shifts:
Resource 1, 1º shift - luch break is at 9 AM
Resource 2, 1º shift - luch break is at 10 AM
In this case i'm not find a property to set intervals or breaks by resource on the resource view and i think, if i can set multiple "dayWorkingTime" by resource i can control exact the time this resource will work on. Something like :
Resource 1 - 30/10/2020 - friday, have 2 breaks with 1 hour each.
dayWorkingTime : {
{0 to 9}, - Break on 1º shift
{10 to 15}, - Break on 2º shift
{16 to 24}
}
Resource 2 - 30/10/2020 - friday, have 1 break with 1 hour.
dayWorkingTime : {
{0 to 9}, - Break on 1º shift
{10 to 24}
}
Resource 1 - 31/10/2020 - saturday
dayWorkingTime : {
{0 to 5}
}
Resource 2 - 31/10/2020 - saturday
dayWorkingTime : {
{0 to 5}
}
Can i do that?