{% extends 'hr/base.html' %} {% load static %} {% load i18n %} {% block title %}{% trans "Employee Lab Tests Dashboard" %}{% endblock %} {% block sidebar.employee_lab_tests %} class="active" {% endblock %} {% block header.add_script %} {% endblock %} {% block content %}
{% trans "Biomarkers with >30% of employees needing attention" %}
{% for biomarker in aggregate_stats.concerning_biomarkers %}{% trans "Sorted by health score (lowest first - most concerning)" %}
| {% trans "Employee Name" %} | {% trans "National ID" %} | {% trans "Latest Test Date" %} | {% trans "Health Score" %} | {% trans "Total Tests" %} | {% trans "Actions" %} |
|---|---|---|---|---|---|
| {% if emp_stat.employee.profile %} {{ emp_stat.employee.profile.first_name }} {{ emp_stat.employee.profile.last_name }} {% else %} {% trans "Unknown" %} {% endif %} | {% if emp_stat.employee.profile.national_id %} {{ emp_stat.employee.profile.national_id }} {% else %} - {% endif %} | {% if emp_stat.test_date %} {{ emp_stat.test_date|date:"Y-m-d" }} {% else %} - {% endif %} |
{% if emp_stat.overall_score is not None %}
{{ emp_stat.overall_score }}
|
{{ emp_stat.total_tests }} | {% trans "View Details" %} |
| {% trans "No employees with lab tests found." %} | |||||
{% trans "No lab tests found for employees in this company." %}
{% trans "Please select a company to view employee lab test data." %}