{% extends "main/layout.html" %} {% load orderby %} {% block content %}

{{ legend|upper }}

{% if period %} {{period}} {% else %} SEIDAUK IHA PERIODO {% endif %}
Nota:
Molok Kria Periode Licensa, halo favor hare uluk Funsionariu/a nia Data Kontratu Hahu
Butaun Aumenta Licensa Tuir Prosesu; Aplika dei ba Funsionariu/a La Inklui Chefe Ekipa no Diretor
Wainhira Ita kria ona Licensa Tuir Prosesu ba Funsionariu Ida; Etapa tuir mai mak Iha parte okos Historia Licensa, klik butaun Manda

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 %}


{% if period %} {% if today >= period.end_date and lc %} {% if page != 'list-year' %} Kria Periode Licensa {% endif %} {% endif %} {% if leavecheck and today <= period.end_date %} {% elif today <= period.end_date and leavecheck %} {% endif %} {% if lc == False %} Kria Record {% endif %} {% if leavecheck %} Aumenta Licensa Aumenta Licensa Special Aumenta Licensa Tuir Prosesu {% endif %} {% else %} Kria Periode Licensa {% endif %} {% for obj in objects %} {% if last_count_period %} {% elif period.balance_carry %} {% endif %} {% for obj1 in data %} {% endfor %} {% endfor %} {% for obj2 in objects %} {% endfor %}
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}}

HISTORIA LICENSA

{{period}}
{% for obj in leave %} {% endfor %}
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 %}
{% endblock %} {% block scripts %} {% endblock %}