{% extends 'base.html' %} {% load static %} {% block title %}{{ staff.get_display_name }} - Staff Details{% endblock %} {% block content %}
{{ staff.get_role_display }}
Employee ID: {{ staff.employee_id }}
| Title | {{ staff.get_title_display|default:"—" }} |
|---|---|
| Full Name | {{ staff.user.first_name }} {{ staff.user.last_name }} |
| Username | {{ staff.user.username }} |
| {{ 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 %} |
| 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:"—" }} |