Work the leave inbox: apply on someone's behalf, approve or reject with a note, cancel an approved leave, and see the effect on balances and attendance.
Finish first: Set up leave types (CL, EL, SL, ML, LWP)
You should see: A table (cards on a phone) with Staff, Type badge, Dates, Days, Reason and Status, and Approve / Reject buttons on each pending row. An empty inbox reads "Inbox is clear".
You should see: Toast "Leave applied (2 days)". Sundays and school holidays are not counted, as the dialog says.
The working-day count honours the Holidays calendar in Settings; a holiday marked as working-for-staff still counts.
You should see: Toast "Leave approved"; the row moves to the Approved filter with "by Anjali Sen" under the status. Her CL balance drops by the days taken.
You should see: Toast "Leave rejected"; the note appears under the status and on the staff member's My HR page.
You should see: The approved working dates show L (On leave) for that person. The grid cannot be left blank for those days.
You should see: Toast "Request cancelled"; the balance is restored and the L marks are removed from attendance.