Need to add absence entries only in increments of 1 hour on each day
We are using Time Type Work Shifts (9-5 shift - 8 working hrs) and so will have start time and end time while entering Absence records. Our requirement is to allow absence entries only in increments of 1 hour on each day (need to allow 1,2,3....7,8 and should not allow decimal hours like 3.5, 4.5 etc.).
We used a logic that says minutes in start time & end time must be same in order to avoid decimal hour entries; but we are able to achieve it only for Advanced Mode entries but not for Basic Mode entries since there is no day wise Start Time & End Time fields available in the UI.