{% load i18n %} {% load static %} {% load attendancefilters %} {% load basefilters %} {% if messages %}
{% for message in messages %}
{{ message }}
{% endfor %}
{% endif %} {% include 'filter_tags.html' %} {% if accounts %}
{% for attendance_list in accounts %}
{{attendance_list.list|length}} {{attendance_list.grouper|capfirst}}
{% trans "Employee" %}
{% trans "Month" %}
{% trans "Year" %}
{% trans "Worked Hours" %}
{% trans "Pending Hours" %}
{% trans "Overtime" %}
{% if perms.attendance.change_attendanceovertime or perms.attendance.delete_attendanceovertime or request.user|is_reportingmanager %}
{% trans "Actions" %}
{% endif %}
{% for ot in attendance_list.list %} {% with dates=ot.month_days %}
{{ot.employee_id.get_full_name}}
{% with month=ot.month|capfirst %}{% trans month %}{% endwith %}
{{ot.year}}
{{ot.worked_hours}}
{{ot.pending_hours}}
{{ot.overtime}}
{% if perms.attendance.change_attendanceovertime or perms.attendance.delete_attendanceovertime or request.user|is_reportingmanager %}
{% if perms.recruitment.change_attendanceovertime or request.user|is_reportingmanager %} {% endif %} {% if perms.attendance.delete_attendanceovertime or request.user|is_reportingmanager %}
{% csrf_token %}
{% endif %}
{% endif %}
{% endwith %} {% endfor %}
{% trans "Page" %} {{ attendance_list.list.number }} {% trans "of" %} {{ attendance_list.list.paginator.num_pages }}.
{% endfor %}
{% trans "Page" %} {{ accounts.number }} {% trans "of" %} {{ accounts.paginator.num_pages }}.
{% else %}
{% trans "No group result found!" %}
{% endif %}