Restrict Leave Application Based on Attendance Cycle (24th to 23rd)

Restrict Leave Application Based on Attendance Cycle (24th to 23rd)

Hi Zoho Team,

Our organization follows a custom attendance cycle from 24th of the current month to 23rd of the next month.

I would like to configure the system so that:

  1. Employees should not be able to apply backdated leave for any date after the attendance cycle closes (i.e., post 23rd)
    → For example, if an employee tries to apply for a leave on 25th for any previous date, it should show a message like:

    "Your attendance cycle has ended. You cannot apply leave for the previous cycle."

  2. If the employee applies for a leave dated 25th or later, it should automatically be recorded under the next attendance cycle.

Is there a way to restrict leave applications after the 23rd of each month for the previous cycle and roll forward such leave to the next cycle if it falls after 23rd?