{% extends 'base.html' %} {% load static %} {% block title %}{{ staff.get_display_name }} - Staff Details{% endblock %} {% block content %}

Staff Details

Edit Back to List
Personal Information
{% if staff.photo %} {{ staff.get_display_name }} {% else %}
{{ staff.user.first_name|first|upper }}{{ staff.user.last_name|first|upper }}
{% endif %}

{{ staff.get_display_name }}

{{ staff.get_role_display }}

Employee ID: {{ staff.employee_id }}

Employment Details
Title {{ staff.get_title_display|default:"—" }}
Full Name {{ staff.user.first_name }} {{ staff.user.last_name }}
Username {{ staff.user.username }}
Email {{ staff.user.email|default:"—" }}
Primary Phone {% if staff.phone_number %} {{ staff.phone_country_code }} {{ staff.phone_number }} {% else %} Not provided {% endif %}
Alternate Phone {% if staff.alternate_phone %} {{ staff.alt_phone_country_code }} {{ staff.alternate_phone }} {% else %} {% endif %}
Role {{ staff.get_role_display }}
Department {{ staff.get_department_display }}
Employment Status {% if staff.employment_status == 'permanent' %} Permanent {% elif staff.employment_status == 'contract' %} Contract {% else %} {{ staff.get_employment_status_display }} {% endif %}
Hire Date {{ staff.hire_date|date:"d M Y"|default:"Not set" }}
Status {% if staff.is_active %} Active {% else %} Inactive {% endif %}
{% if staff.emergency_contact_name %}
Emergency Contact
Name {{ staff.emergency_contact_name }}
Phone {% if staff.emergency_contact_phone %} {{ staff.emergency_phone_country_code }} {{ staff.emergency_contact_phone }} {% else %} {% endif %}
Relationship {{ staff.emergency_contact_relationship|default:"—" }}
{% endif %}
{% endblock %}