{% extends "layouts/base.html" %} {% load i18n %} {% block title %}{% trans "Staff Hierarchy" %} - PX360{% endblock %} {% block extra_css %} {% endblock %} {% block content %}
{% trans "View organizational structure and reporting relationships" %}
| {% trans "Name" %} | {% trans "Employee ID" %} | {% trans "Job Title" %} | {% trans "Hospital" %} | {% trans "Department" %} | {% trans "Reports To" %} | {% trans "Direct Reports" %} | {% trans "Status" %} | {% trans "Actions" %} |
|---|---|---|---|---|---|---|---|---|
|
{{ staff_member.get_localized_name.0 }}
{{ staff_member.get_localized_name }}
|
{{ staff_member.employee_id|default:"-" }} | {{ staff_member.get_localized_job_title|default:"-" }} | {% if staff_member.hospital %} {{ staff_member.hospital.name }} {% else %} - {% endif %} | {% if staff_member.department %} {{ staff_member.department.get_localized_name }} {% else %} - {% endif %} | {% if staff_member.report_to %} {{ staff_member.report_to.get_localized_name }} {% else %} {% trans "Top Level" %} {% endif %} | {% with report_count=staff_member.direct_reports.count %} {% if report_count > 0 %} {{ report_count }} {% else %} - {% endif %} {% endwith %} | {% if staff_member.status == 'active' %} {% trans "Active" %} {% else %} {% trans "Inactive" %} {% endif %} | |
|
{% trans "No staff members found" %} {% trans "There are no staff members matching the selected filters." %} {% if user.is_px_admin or user.is_hospital_admin %} {% trans "Add Staff" %} {% endif %} |
||||||||