{% extends "layouts/base.html" %} {% load i18n %} {% block title %}{% trans "Department Benchmarks" %} - PX360{% endblock %} {% block content %}

{% trans "Department Benchmarks" %}

{{ benchmarks.department }} - {% trans "Staff Performance Comparison" %}

{% trans "Back to Evaluation" %}
{% if benchmarks.error %}
{{ benchmarks.error }}
{% else %}
{% trans "Total Staff" %}

{{ benchmarks.staff_count }}

{% trans "Average Score" %}

{{ benchmarks.average_score }}

{% trans "Top Performer" %}
{{ benchmarks.top_performer.name|default:"-" }}
{{ benchmarks.top_performer.score|default:"0" }} pts
{% trans "Avg Items/Staff" %}

{{ benchmarks.average_items_per_staff }}

{% trans "Performance Rankings" %}
{% trans "Rating Distribution" %}
{% if benchmarks.needs_improvement %}
{% trans "Staff Needing Improvement" %}

{% trans "The following staff members have performance scores below 60:" %}

{% endif %}
{% trans "Detailed Rankings" %}
{% for staff in benchmarks.rankings %} {% empty %} {% endfor %}
{% trans "Rank" %} {% trans "Staff Name" %} {% trans "Performance Score" %} {% trans "Rating" %} {% trans "Complaints" %} {% trans "Inquiries" %} {% trans "Total Items" %} {% trans "Actions" %}
{% if forloop.first %} {% elif forloop.counter == 2 %} {% elif forloop.counter == 3 %} {% else %} {{ forloop.counter }} {% endif %} {{ staff.name }} {{ staff.score }} {{ staff.rating }} {{ staff.complaints }} {{ staff.inquiries }} {{ staff.total_items }} {% trans "View" %}
{% trans "No staff data available" %}
{% endif %}
{% endblock %} {% block extra_js %} {% endblock %}