{% extends "layouts/base.html" %} {% load i18n %} {% block title %}{% trans "Staff Management" %} - PX360{% endblock %} {% block content %}
{% for staff_member in staff %} {% empty %} {% endfor %}
{% trans "Name" %} {% trans "Type" %} {% trans "Job Title" %} {% trans "Employee ID" %} {% trans "Hospital" %} {% trans "Department" %} {% trans "User Account" %} {% trans "Status" %} {% trans "Actions" %}
{{ staff_member.get_full_name }} {% if staff_member.license_number %}
{{ staff_member.license_number }} {% endif %}
{{ staff_member.get_staff_type_display }} {{ staff_member.job_title }} {{ staff_member.employee_id }} {{ staff_member.hospital.name }} {{ staff_member.department.name|default:"-" }} {% if staff_member.user %} {% trans "Yes" %}
{{ staff_member.user.username }} {% else %} {% trans "No" %} {% endif %}
{% if staff_member.status == 'active' %} {% trans "Active" %} {% else %} {% trans "Inactive" %} {% endif %}
{% if user.is_px_admin or user.is_hospital_admin %} {% if not staff_member.user and staff_member.email %} {% endif %} {% if staff_member.user %} {% endif %} {% endif %}

{% trans "No staff members found" %}

{% if page_obj.has_other_pages %} {% endif %}
{% endblock %} {% block extra_js %} {% endblock %}