{% extends "main/layout.html" %} {% load orderby %} {% block content %}
Name of Staff: {{employee|upper}}
Position: {{employee.curempposition.position.name|upper}}
Contract Start Date: {{contract.start_date|date:"d F Y"}}
Contract End Date: {% if contract.end_date %} {{contract.end_date|date:"d F Y"}} {% else %} Indeterminable {% endif %}
Month | Annual Leave Earn (days) = 20 Days/Year | Taken (Days) | Balance | Special Leave = 3 Days/Year | Taken (Days) | Balance | Sick Leave = 12 Days/Year | Taken (days) | Balance | Maternity Leave = 12 Weeks/Year | Taken (days) | Balance | Paternity Leave = 5 Days/Year | Taken (days) | Balance | Childcare Leave = 5 Days/Year | Taken (days) | Balance |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Balance Carry Forward {{last_count_period.period.start_year}} - {{last_count_period.period.end_year}} | {{last_count_period.total_balance}} | |||||||||||||||||
Balance Carry Forward (Last Period) | {{period.balance_carry}} | |||||||||||||||||
{{obj1.0|date:"d-M-"}} | {% if obj1.1.update_date <= today %} {{obj1.1.leave_earn}} {% else %} 0.00 {% endif %} | {% if obj1.1.taken != 0.00 %} {{obj1.1.taken}} {% else %} 0.00 {% endif %} | {% if obj1.1.update_date <= today %} {{obj1.1.balance}} {% else %} {% if obj1.7 %} {{obj1.1.balance_month}} {% else %} 0.00 {% endif %} {% endif %} | {{obj1.3.month}}-{{obj1.3.year}} | {% if obj1.3.taken != 0.00 %} {{obj1.3.taken}} {% else %} 0.00 {% endif %} | {{obj1.3.total_balance}} | {{obj1.2.month}}-{{obj1.2.year}} | {% if obj1.2.taken != 0.00 %} {{obj1.2.taken}} {% else %} 0.00 {% endif %} | {{obj1.2.total_balance}} | {{obj1.4.month}}-{{obj1.4.year}} | {% if obj1.4.taken != 0.00 %} {{obj1.4.taken}} {% else %} 0.00 {% endif %} | {{obj1.4.total_balance}} | {{obj1.5.month}}-{{obj1.5.year}} | {% if obj1.5.taken != 0.00 %} {{obj1.5.taken}} {% else %} 0.00 {% endif %} | {{obj1.5.total_balance}} | {{obj1.6.month}}-{{obj1.6.year}} | {% if obj1.6.taken != 0.00 %} {{obj1.6.taken}} {% else %} 0.00 {% endif %} | {{obj1.6.total_balance}} |
TOTAL | {% if obj2.7 %} {% if today >= obj2.10.update_date %} {{obj2.10.total_earn}} {% elif today < obj2.10.update_date %} {{obj2.8.total_earn}} {% else %} {{obj2.0.total_earn}} {% endif %} {% else %} {% if today >= obj2.10.update_date %} {{obj2.10.total_earn}} {% elif today < obj2.10.update_date %} {{obj2.8.total_earn}} {% else %} {{obj2.0.total_earn}} {% endif %} {% endif %} | {{obj2.0.total_taken}} | {% if today <= obj2.0.update_date %} {{obj2.9.balance_month}} {% elif obj2.7 and today >= obj2.10.update_date %} {{obj2.0.total_balance}} {% elif obj2.7 %} {{obj2.9.balance_month}} {% else %} {{obj2.0.total_balance}} {% endif %} | - | {{obj2.1.last.total_taken}} | {{obj2.1.last.total_balance}} | - | {{obj2.2.last.total_taken}} | {{obj2.2.last.total_balance}} | - | {{obj2.3.last.total_taken}} | {{obj2.3.last.total_balance}} | - | {{obj2.4.last.total_taken}} | {{obj2.4.last.total_balance}} | - | {{obj2.5.last.total_taken}} | {{obj2.5.last.total_balance}} |
Nu. | Deskrisaun Licensa | Data Aplika | Tipu Licensa | Data Hahu | Data Remata | Loron | Status | File | Kria Husi | # |
---|---|---|---|---|---|---|---|---|---|---|
{{forloop.counter}} | {{obj.description}} | {{obj.date}} | {{obj.leave_type}} | {{obj.start_date|date:"d-F-Y"}} | {{obj.end_date|date:"d-F-Y"}} | {{obj.days}} | {% if obj.is_special %} Special {% else %} Regular {% endif %} | {% if obj.file %} {% endif %} | {{obj.user.employeeuser.employee}} | {% if obj.is_create_by_hr and obj.is_lock == False and obj.is_send == False and obj.is_special == False %} Manda {% endif %} |