Managing Half Day Leave with Existing Attendance in ERPNext

Hello for all…

I’m facing an issue with managing Half day leaves for employees in my ERPNext setup. Here’s the scenario:

We have connected a BioTim to ERPNext for tracking employee attendance.
If the employee requests a Half day leave (e.g., from 12:00 PM to 4:00 PM), and the HR department came to approves the leave. the system shows an error indicating that the “Employee check-in is already existing in the attendance,”
which is true because the system have a check in record for this employee in attendance.

WhatsApp Image 2025-01-13 at 10.03.18 AM

Has anyone encountered a similar issue? What’s the best way to manage this scenario.

Thank you in advance.