{% load i18n %} {% load static %} {% load basefilters %} {% load horillafilters %}
{% if requests %}
{% trans "Employee" %}
{% trans "Date" %}
{% trans "Day" %}
{% trans "Check-In" %}
{% trans "In Date" %}
{% trans "Check-Out" %}
{% trans "Out Date" %}
{% trans "Shift" %}
{% trans "Work Type" %}
{% trans "Min Hour" %}
{% trans "At Work" %}
{% trans "Overtime" %}
{% if request.user|is_reportingmanager or perms.attendance.change_attendance %}
{% trans "Actions" %}
{% endif %}
{% for attendance in requests %}
{{attendance.employee_id}}
{{attendance.attendance_date}}
{{attendance.attendance_day|capfirst}}
{{attendance.attendance_clock_in}}
{{attendance.attendance_clock_in_date}}
{{attendance.attendance_clock_out}}
{{attendance.attendance_clock_out_date}}
{{attendance.shift_id}}
{{attendance.work_type_id}}
{{attendance.minimum_hour}}
{{attendance.attendance_worked_hour}}
{{attendance.attendance_overtime}}
{% if request.user|is_reportingmanager or perms.attendance.change_attendance %} {% endif %}
{% endfor %}
{% else %}
{% trans "No attendance requests have been generated." %}
{% endif %}
{% if accounts %}
{% trans "Employee" %}
{% trans "Month" %}
{% trans "Year" %}
{% trans "Hour Account" %}
{% trans "Overtime" %}
{% if perms.attendance.change_attendanceovertime or perms.attendance.delete_attendanceovertime %}
{% trans "Actions" %}
{% endif %}
{% for ot in accounts %}
Mary Magdalene
{{ot.employee_id}}
{% with month=ot.month|capfirst %}{% trans month %}{% endwith %}
{{ot.year}}
{{ot.worked_hours}}
{{ot.overtime}}
{% if perms.attendance.change_attendanceovertime or perms.attendance.delete_attendanceovertime %}
{% if perms.attendance.change_attendanceovertime %} {% endif %} {% if perms.attendance.delete_attendanceovertime or request.user|is_reportingmanager %}
{% csrf_token %}
{% endif %}
{% endif %}
{% endfor %}
{% else %}
{% trans "The hour account is currently empty." %}
{% endif %}
{% if validate_attendances %}
{% trans "Employee" %}
{% trans "Date" %}
{% trans "Day" %}
{% trans "Check-In" %}
{% trans "In Date" %}
{% trans "Check-Out" %}
{% trans "Out Date" %}
{% trans "Shift" %}
{% trans "Work Type" %}
{% trans "Min Hour" %}
{% trans "At Work" %}
{% trans "Overtime" %}
{% for attendance in validate_attendances %}
Mary Magdalene
{{attendance.employee_id}}
{{attendance.attendance_date}}
{{attendance.attendance_day.get_day_display }}
{{attendance.attendance_clock_in}}
{{attendance.attendance_clock_in_date}}
{{attendance.attendance_clock_out}}
{{attendance.attendance_clock_out_date}}
{{attendance.shift_id}}
{{attendance.work_type_id}}
{{attendance.minimum_hour}}
{{attendance.attendance_worked_hour}}
{{attendance.attendance_overtime}}
{% if perms.attendance.change_attendance or request.user|is_reportingmanager %} {% endif %} {% if perms.attendance.delete_attendance %}
{% csrf_token %}
{% endif %}
{% if request.user|is_reportingmanager or perms.attendance.change_attendance %} {% trans "Validate" %} {% endif %}
{% endfor %}
{% else %}
{% trans "No attendance requests to validate." %}
{% endif %}