Unable to apply for Compensatory Leave Request due to Half Day Attendance on Holiday

Hi everyone,

I’m working on ERPNext: v15.61.1, Frappe HR: v15.45.2 and I’ve encountered an issue related to Compensatory Leave Request.

I worked half a day on a holiday, and the attendance was automatically marked as:

"status": "Half Day",
"half_day_status": "Absent"

Because of this, I’m unable to apply for a Compensatory Leave — the system throws:

“You are not present all day(s) between compensatory leave request days”

This is misleading because I was present for a half day, and working hours (5.02) were correctly calculated from check-in/out logs.

Any guidance or recommended fix is appreciated!