Absence / Unapproved leave sandwich policy

Hello,

New to ERPNext, I apologize if this has been asked before but I couldn’t find a similar question on the forums.

Our company has a policy where if an employee is absent a day before the weekend or a public holiday, the holidays will be sandwiched together and counted in the absents.

If the weekend is Saturday and Sunday and the employee is absent without having applied for a leave on Friday then instead of 1, 3 absents will be counted.

I tried looking for a similar option but couldn’t find one. Any help?

Thank you.

Did you found any solution? We would like to implement same thing