{% extends "base.html" %} {% load static %} {% block title %}{{ department.name }} | Department Details{% endblock %} {% block css %} {% endblock %} {% block content %}
{{ department.department_code }} | {{ department.get_department_type_display }}
| Department Code: | {{ department.department_code }} |
|---|---|
| Type: | {{ department.get_department_type_display }} |
| Parent Department: | {% if department.parent_department %} {{ department.parent_department.name }} {% else %} None (Top Level) {% endif %} |
| Location: | {{ department.location|default:"Not specified" }} |
| Cost Center: | {{ department.cost_center|default:"Not specified" }} |
| Annual Budget: | {% if department.annual_budget %} ${{ department.annual_budget|floatformat:2 }} {% else %} Not specified {% endif %} |
| Status: | {% if department.is_active %} Active {% else %} Inactive {% endif %} |
{{ department.department_head.job_title }}
{{ department.department_head.email }}
Phone
{{ department.department_head.phone|default:"N/A" }}
Active Employees
Total Employees
Annual Budget
{{ department.description }}
{% else %}No description available.
{% endif %}| Employee | Position | Status | Hire Date | Actions |
|---|---|---|---|---|
|
{{ employee.get_full_name }}
{{ employee.employee_number }}
|
{{ employee.job_title }} | {% if employee.employment_status == 'ACTIVE' %} Active {% elif employee.employment_status == 'ON_LEAVE' %} On Leave {% else %} {{ employee.get_employment_status_display }} {% endif %} | {{ employee.hire_date|date:"M d, Y" }} | |
| No employees found in this department. | ||||
{{ subdept.department_code }}