{% load static basefilters horillafilters employee_filter i18n %} {% load tz %} {% now "Y-m-d" as current_date %}
{% if perms.employee.view_employee %} {% if "recruitment"|app_installed %} {% endif %} {% endif %}
{% if "attendance"|app_installed %} {% if not 'offline_employees' in charts %} {% if perms.employee.view_employee or request.user|is_reportingmanager %}
{% include "dashboard/not_in_yet.html" %}
{% endif %} {% endif %} {% if not 'online_employees' in charts %} {% if perms.employee.view_employee or request.user|is_reportingmanager %}
{% include "dashboard/not_out_yet.html" %}
{% endif %} {% endif %} {% endif %} {% if "leave"|app_installed and not 'overall_leave_chart' in charts %} {% if perms.leave.view_leaverequest %}
{% trans "Overall Leave" %} close
{% endif %} {% endif %} {% if "recruitment"|app_installed and perms.recruitment.view_candidate or request.user|is_stagemanager %} {% if not 'hired_candidates' in charts %}
{% trans "Hired Candidates" %} close
{% endif %} {% if "onboarding"|app_installed and not 'onboarding_candidates' in charts %}
{% trans "Candidates Started Onboarding" %} close
{% endif %} {% endif %} {% if "recruitment"|app_installed and not 'recruitment_analytics' in charts %} {% if request.user|is_stagemanager or perms.recruitment.view_recruitment %}
{% trans "Recruitment Analytics" %} close
{% endif %} {% endif %} {% if "attendance"|app_installed and not 'attendance_analytic' in charts %} {% if request.user|is_reportingmanager or perms.attendance.view_attendance %}
{% trans "Attendance Analytics" %} close
{% endif %} {% endif %} {% if "attendance"|app_installed and not 'hours_chart' in charts %} {% if request.user|is_reportingmanager or perms.attendance.view_attendance %}
{% trans "Hours Chart" %} close
{% endif %} {% endif %} {% if not 'employees_chart' in charts %}
{% trans "Employees Chart" %} close
{% endif %} {% if not 'department_chart' in charts %}
{% trans "Department Chart" %} close
{% endif %} {% if not 'gender_chart' in charts %}
{% trans "Gender Chart" %} close
{% endif %} {% if "pms"|app_installed and not 'objective_status' in charts %} {% if perms.pms.view_employeeobjective or request.user|is_reportingmanager %}
{% trans "Objective Status" %} close
{% endif %} {% endif %} {% if "pms"|app_installed and not 'key_result_status' in charts %} {% if perms.pms.view_employeekeyresult or request.user|is_reportingmanager %}
{% trans "Key Result Status" %} close
{% endif %} {% endif %} {% if "pms"|app_installed and not 'feedback_status' in charts %} {% if perms.pms.view_feedback or request.user|is_reportingmanager %}
{% trans "Feedback Status" %} close
{% endif %} {% endif %} {% if not 'shift_request_approve' in charts %} {% if perms.base.change_shiftrequest or request.user|is_reportingmanager %}
{% trans "Shift Requests To Approve" %} close
{% include "request_and_approve/shift_request.html" %}
{% endif %} {% endif %} {% if not 'work_type_request_approve' in charts %} {% if perms.base.change_worktyperequest or request.user|is_reportingmanager %}
{% trans "Work Type Requests To Approve" %} close
{% include "request_and_approve/work_type_request.html" %}
{% endif %} {% endif %} {% if "attendance"|app_installed and not 'overtime_approve' in charts %} {% if perms.attendance.change_attendance or request.user|is_reportingmanager %}
{% include "request_and_approve/overtime_approve.html" %}
{% endif %} {% endif %} {% if "attendance"|app_installed %} {% if not 'attendance_validate' in charts %} {% if perms.attendance.change_attendance or request.user|is_reportingmanager %}
{% include "request_and_approve/attendance_validate.html" %}
{% endif %} {% endif %} {% endif %} {% if "leave"|app_installed and not 'leave_request_approve' in charts %} {% if perms.leave.change_leaverequest or request.user|is_reportingmanager %}
{% trans "Leave Requests To Approve" %} close
{% endif %} {% endif %} {% if "leave"|app_installed and not 'leave_allocation_approve' in charts %} {% if perms.leave.change_leaveallocationrequest or request.user|is_reportingmanager %}
{% trans "Leave Allocation Request To Approve" %} close
{% include "request_and_approve/leave_request_approve.html" %}
{% endif %} {% endif %} {% if "pms"|app_installed and not 'feedback_answer' in charts %}
{% trans "Feedback To Answers" %} close
{% include "request_and_approve/feedback_answer.html" %}
{% endif %} {% if "asset"|app_installed and not 'asset_request_approve' in charts %} {% if perms.asset.change_assetrequest or request.user|is_reportingmanager %}
{% trans "Asset Requests To Approve" %} close
{% include "request_and_approve/asset_requests_approve.html" %}
{% endif %} {% endif %}
{% trans "Announcements" %} {% if perms.base.add_announcement %} {% endif %}

{% if not announcement %}
Page not found. 404.
{% trans "No Announcements to show." %}
{% else %} {% for i in announcement %} {% endfor %} {% endif %}
{% if "leave"|app_installed %}
{% trans "On Leave" %}
{% endif %}
{% trans "Employee Work Information" %}
{% if request.user.employee_get.employee_user_id.is_superuser or request.user|is_reportingmanager %}
{% endif %}
{% include "announcement_single_view.html" %}
{% if "leave"|app_installed %} {% endif %} {% if "leave"|app_installed %} {% endif %} {% if "recruitment"|app_installed %} {% if perms.recruitment.view_recruitment or request.user|is_stagemanager %} {% endif %} {% endif %} {% if "attendance"|app_installed %} {% if perms.attendance.view_attendance or request.user|is_reportingmanager %} {% endif %} {% endif %} {% if "onboarding"|app_installed %} {% endif %} {% if "pms"|app_installed %} {% endif %} {% if not request.user.driverviewed_set.first or "dashboard" not in request.user.driverviewed_set.first.user_viewed %} {% endif %}