{% extends "base.html" %} {% block title %}Employee Twin{% endblock %} {% block page_title %}Employee Twin{% endblock %} {% block content %}
{{ total_db_employees }}
Total Employees
{{ active_count }}
Active Employees
{{ dept_count }}
Departments
{% if total_db_employees > 0 %} {{ avg_salary | format_currency }} {% else %} {{ 0 | format_currency }} {% endif %}
Avg Salary
CSV Template Excel Template Export Excel Export PDF {% if total_db_employees > 0 %} {% endif %}
Employee Directory
{{ total_db_employees }} employees
{% if total_db_employees == 0 %}

No employee records in database yet.

Your company has approximately {{ company.employee_count if company and company.employee_count else 0 }} employees.

{% else %}
{% for e in employees %} {% endfor %}
Employee ID Name Email Department Job Title Salary Status Rating Actions
{{ e.employee_id or ('EMP-' ~ e.id) }} {{ e.full_name() or '-' }} {{ e.email or '-' }} {{ dept_map.get(e.department_id, 'Unassigned') }} {{ e.job_title or '-' }} {{ e.salary | format_currency }} {{ e.status|title }} {% if e.performance_rating %} {{ "%.1f"|format(e.performance_rating) }} {% else %}-{% endif %}
{% endif %}
{% endblock %} {% block extra_js %} {% endblock %}