When applying for a Half-Day Leave, the system should provide an option to select whether the leave is for the First Half (before lunch) or Second Half (after lunch) and define the attendance status for the remaining half of the day.
**Title:** **Enhancement: Half-Day Leave should support First/Second Half selection and configurable remaining half-day status** **Description:** **Problem:** Currently, in ERPNext, when applying for a Half-Day Leave, the system does not provide an option to: * Select whether the leave is for the First Half (before lunch) or Second Half (after lunch) * Define the attendance status for the remaining half of the day By default, the system automatically considers the other half as Present, without giving any control to the user. Additionally, even when trying to manage this via the Attendance doctype, the system overrides manual changes and marks the other half as Absent, making it difficult to handle real-world scenarios. --- **Expected Behavior / Proposed Solution:** 1. When "Half Day" is selected in Leave Application: * Provide an option to choose: * First Half (Before Lunch) * Second Half (After Lunch) 2. Add an option to define the remaining half-day status, s