Marking Leave from Attendance doc not affecting the Leave Balance

I have been trying to create an Attendance document with On Leave and Leave Type Selection, but the system does not subtract the leave balance. Even if the employee does not have leave balance available, the attendance document is submitted without notice.

Hi @hiimkhaled,

Beacause of, leave will subtract via Leave Application and employee to apply for leaves for a particular time period.

More information to check this.

Thank You!