{% extends "base.html" %} {% load static %} {% block title %}{{ employee.get_full_name }} - Employee Details - {{ block.super }}{% endblock %} {% block content %}

{{ employee.get_full_name }}

Employee Information
Employee ID:
{{ employee.employee_number }}
Full Name:
{{ employee.get_full_name }} {% if employee.preferred_name %}
Preferred: {{ employee.preferred_name }} {% endif %}
Department:
{% if employee.department %} {{ employee.department.name }} {% else %} Not assigned {% endif %}
Job Title:
{{ employee.job_title|default:"Not specified" }}
Hire Date:
{{ employee.hire_date|date:"M d, Y" }}
{{ employee.hire_date|timesince }} ago
Employment Status:
{{ employee.get_employment_status_display }}
Employment Type:
{{ employee.get_employment_type_display|default:"Not specified" }}
Supervisor:
{% if employee.supervisor %} {{ employee.supervisor.get_full_name }} {% else %} No supervisor assigned {% endif %}
Contact Information
Email:
{% if employee.email %} {{ employee.email }} {% else %} Not provided {% endif %}
Phone:
{% if employee.phone %} {{ employee.phone }} {% else %} Not provided {% endif %}
Mobile:
{% if employee.mobile_phone %} {{ employee.mobile_phone }} {% else %} Not provided {% endif %}
Address:
{% if employee.address_line_1 %} {{ employee.address_line_1 }}
{% if employee.address_line_2 %}{{ employee.address_line_2 }}
{% endif %} {% if employee.city %}{{ employee.city }}, {% endif %} {% if employee.state %}{{ employee.state }} {% endif %} {% if employee.postal_code %}{{ employee.postal_code }}{% endif %} {% if employee.country %}
{{ employee.country }}{% endif %} {% else %} Not provided {% endif %}
{% if employee.emergency_contact_name %}
Emergency Contact
Name:
{{ employee.emergency_contact_name }}
Relationship:
{{ employee.emergency_contact_relationship|default:"Not specified" }}
Phone:
{% if employee.emergency_contact_phone %} {{ employee.emergency_contact_phone }} {% else %} Not provided {% endif %}
{% endif %}
Recent Activity
Employee profile updated

Contact information updated

{{ employee.updated_at|timesince }} ago
Employee hired

Joined {{ employee.department.name|default:"the organization" }}

{{ employee.hire_date|timesince }} ago
{{ employee.first_name.0 }}{{ employee.last_name.0 }}
{{ employee.get_full_name }}

{{ employee.job_title|default:"Employee" }}

Edit Profile
Quick Stats
Years of Service {{ employee.years_of_service|floatformat:1 }}
Performance Reviews {{ employee.performance_reviews.count }}
Training Completed {{ employee.training_records.count }}
Direct Reports {{ employee.direct_reports.count }}
{% endblock %}