{% extends "base.html" %} {% block title %}Leave Register {{ year }} · WageWise Neo{% endblock %} {% block content %}
CL/SL Used and the yearly totals below are calculated directly from Attendance — marking CL/SL on the Attendance page updates this automatically, and using "+ Add Leave" here also marks those days on the Attendance grid. Both stay in sync.
| Employee | CL Entitled | CL Used | CL Balance | SL Entitled | SL Used | SL Balance | Present (Year) |
Absent (Year) |
Half Day (Year) |
Late (Year) |
|
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ emp.full_name }} | {{ cl_ent }} | {{ cl_used }} | {{ (cl_ent - cl_used) | int }} | {{ sl_ent }} | {{ sl_used }} | {{ (sl_ent - sl_used) | int }} | {{ bal.present_days or 0 }} | {{ bal.absent_days or 0 }} | {{ bal.half_days or 0 }} | {{ bal.late_days or 0 }} |