cancel
Showing results for 
Search instead for 
Did you mean: 

Friday has to be calculated as an extra leave

rashmiranjan1411
Explorer
0 Kudos
190

Hi Team,

Here is my client requirement


Friday should be considered as an extra day if employee is applying leave on Friday as starting date that means if employee is applying leave from Friday to Monday, then in this scenario Friday will be consider as 2 days but in case if employee is applying leave from Monday to Friday, then Friday will be consider as 1 day leave.

So, if Friday is falling as first day of leave system will consider 2 days but in case Friday is falling end-day/mid-day then system will consider Friday as 1 day

To be more precisely more, let’s consider this month

15th Dec’2023 is Friday, so if employee is applying leave from 15th Dec to 18th Dec then system will consider 15th Dec as 2 days and 18th as 1 day only so overall its 3 days.

But if employee is applying leave from 14th Dec-15th Dec then system will consider overall 2 days of leave (14th Dec as 1 day and 15th Dec as 1 more day).

Please let me know if anyone has ever achieved this scenario

Thanks

Rashmi

Accepted Solutions (0)

Answers (2)

Answers (2)

rashmiranjan1411
Explorer
0 Kudos

Hi Jasper,

Thanks for the suggestion

However, if i achieve this will update here

nlgro023
Active Contributor
0 Kudos

Well that rules out listing the Friday as a bank holiday as that would allow you to work around it. The only way I could see a possibility is by setting a rule on the employee time object itself where it checks how the composition is of the request in terms of days of the week in order to deduct 1 day (assuming that's always a day / 8 hours or something like that).